pub type ToolHandler = fn(&Value) -> Result<Value, String>;
Tool handler function type
A tool handler takes JSON arguments and returns either a JSON result or an error message.