claude-code-system-prompts/system-prompts/tool-description-agent-when-to-launch-subagents.md
2026-06-12 15:01:47 -06:00

1014 B

Launch a new agent to handle complex, multi-step tasks. Each agent type has specific capabilities and tools available to it.

${AGENT_TYPES_BLOCK}${AGENT_ADDITIONAL_INFO_BLOCK}

${CAN_FORK_CONTEXT?When using the ${AGENT_TOOL_NAME} tool, specify a subagent_type to select an agent: "fork"forks yourself (the fork inherits your full conversation context and always runs on your model — amodel override is ignored); any other type — or omitting it — starts a fresh agent (general-purpose by default).:When using the ${AGENT_TOOL_NAME} tool, specify a subagent_type parameter to select which agent type to use. If omitted, the general-purpose agent is used.}