pub type ToolHandler = Arc<dyn Fn(Value, &ToolContext) -> Result<AgentToolResult, ToolError> + Send + Sync>;
Handler function type for ClosureTool.
pub struct ToolHandler { /* private fields */ }