Skip to main content

register_subagent_tool

Function register_subagent_tool 

Source
pub fn register_subagent_tool(
    tools: &mut ToolRegistry,
    provider: Arc<dyn ModelProvider + Send + Sync>,
    config: &AgentConfig,
) -> Result<(), AgentError>
Expand description

Register the in-process subagent tool with built-in and plugin-provided agent definitions.