pub trait Tools: Sync {
// Required method
fn call(
&self,
name: &str,
input: &Value,
) -> impl Future<Output = Value> + Send;
}Expand description
Runs one tool and returns its MCP CallToolResult.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".