pub trait DynTool: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn parameters_schema(&self) -> Value;
fn execute(
&self,
params: Value,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>;
}Expand description
Type-erased tool trait for dynamic dispatch