pub type BoxedToolFn = Box<dyn for<'a> Fn(Value, &'a Context<'a>) -> Pin<Box<dyn Future<Output = Result<ToolOutput, McpError>> + Send + 'a>> + Send + Sync>;Expand description
A boxed async function for tool execution.
Aliased Typeยง
pub struct BoxedToolFn(/* private fields */);