pub type ToolCallCallback = Arc<dyn Fn(Vec<FunctionCall>, State) -> BoxFuture<Option<Vec<FunctionResponse>>> + Send + Sync>;Expand description
Tool-call override: return Some(responses) to reply, None to defer to
auto-dispatch via the registered ToolDispatcher.
Aliased Typeยง
pub struct ToolCallCallback { /* private fields */ }