ToolHandler

Trait ToolHandler 

Source
pub trait ToolHandler {
    // Required method
    fn execute_tool(&self, name: &str, arguments: &Value) -> ToolCallResponse;
}
Expand description

A tool handler: the caller implements this to actually execute tools (calling the admin API, reading config, etc.).

Required Methods§

Source

fn execute_tool(&self, name: &str, arguments: &Value) -> ToolCallResponse

Implementors§