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.