Skip to main content

AGENT

Constant AGENT 

Source
pub const AGENT: &str = "agent";
Expand description

Unified subagent lifecycle tool (action: spawn | spawn_subprocess | send_input | resume | wait | close). wait_agent/close_agent are now aliases routed to agent (action=‘wait’/‘close’); LIFECYCLE_CLEANUP_TOOLS still lists their names so the policy layer keeps treating them as always-allowed cleanup calls regardless of the active primary agent’s restricted tool policy.