pub trait ToolProvider: Send + Sync {
// Required methods
fn get_tool_definitions(&self) -> Vec<ToolDefinition>;
fn execute_tool<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tool_name: &'life1 str,
input: ToolInput,
working_dir: &'life2 Path,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Trait defining the interface for providing tools to the [Agent].
NOTE: This is unused by the MCP agent.