Skip to main content

execute_tool

Function execute_tool 

Source
pub async fn execute_tool(
    engine: &InferenceEngine,
    tool_name: &str,
    params: &Value,
) -> Result<Value, InferenceError>
Expand description

Execute an inference tool call. Returns the result as JSON.

This is the bridge between CAR’s tool dispatch and the inference engine.