pub trait PromptHandler: Send + Sync {
// Required method
fn get<'life0, 'async_trait>(
&'life0 self,
arguments: HashMap<String, Value>,
) -> Pin<Box<dyn Future<Output = McpResult<PromptResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait for implementing prompt handlers