pub type ToolCallback = dyn Fn(&CalledFunction) -> Result<String> + Send + Sync;
Callback used for custom tool functions. Receives the called function (name and JSON arguments) and returns the tool output as a string.