Skip to main content

ToolBuilder

Type Alias ToolBuilder 

Source
pub type ToolBuilder = Arc<dyn Fn() -> Result<Vec<Box<dyn Tool>>> + Send + Sync>;
Expand description

Function that builds a tool set for sub-agents. The delegate tool calls this when running in agentic mode, then filters the result based on each agent’s allowed_tools configuration.

Aliased Type§

pub struct ToolBuilder { /* private fields */ }