pub trait McpCaller {
// Required method
fn call(
&self,
server: &str,
tool: &str,
args: Value,
meta: Value,
timeout: Duration,
) -> Result<(Value, bool), String>;
}Expand description
How MCP tools are reached from the turn.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".