Skip to main content

execute_tool

Function execute_tool 

Source
pub fn execute_tool(name: &str, args: &Value) -> Result<String, String>
Expand description

Execute a tool by name with the given arguments. Returns the result as a string to be sent back to the model.