ToolProviderFn

Type Alias ToolProviderFn 

Source
pub type ToolProviderFn = Box<dyn Fn() -> Vec<(String, String)> + Send + Sync>;
Expand description

Type alias for the tool provider callback.

Returns a Vec of (name, summary) pairs describing available tools. When set on a ContextManager, the context resolution pipeline can include tool metadata without depending on a specific tool registry.

Aliased Typeยง

pub struct ToolProviderFn(/* private fields */);