Skip to main content

CompiledToolDispatcher

Type Alias CompiledToolDispatcher 

Source
pub type CompiledToolDispatcher = Arc<dyn Fn(&str, &HashMap<String, Value>) -> Result<Value, String> + Send + Sync>;
Expand description

Callback type for dispatching tool execution through a real bridge. Arguments: (tool_name, resolved_params) -> Result<Value, error_message>

Aliased Typeยง

pub struct CompiledToolDispatcher { /* private fields */ }