Sweep 22 Sep 2026 · 15:52Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Writing the changelog v2.1.280 merge candidates · 1/5 waiting for the next tick
Tool description

Agent, as sent

CLI Claude Code, interactive mode, v2.1.270. One model string produces this prompt.

As described in the compaction instruction request, not the ordinary one.

Lines161,811 characters
Moved+0−0 against v2.1.269
Reach1model strings receive this description
Copies1distinct descriptions under this name
Parameters52 of them required Tools in captureall of themevery description on this arm
Plain text · sha256 27cb6ec4f84f

The description, line by line

16 lines Line numbers are v2.1.269 on the left and this capture on the right.
1 1 Launch a new agent to handle complex, multi-step tasks. Each agent type has specific capabilities and tools available to it.
2 2
3 3 Available agent types are listed in <system-reminder> messages in the conversation.
4 4
5 5 When using the Agent 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 — a `model` override is ignored); any other type — or omitting it — starts a fresh agent (general-purpose by default).
6 6
7 7 ## When to use
8 8
9 9 Reach for this when the task matches an available agent type, when you have independent work to run in parallel, or when answering would mean reading across several files — delegate it and you keep the conclusion, not the file dumps. For a single-fact lookup where you already know the file, symbol, or value, search directly. Once you've delegated a search, don't also run it yourself — wait for the result.
10 10
11 11 A fork runs in the background and keeps its tool output out of your context. If you are the fork, execute directly — don't re-delegate. Subagents run in the background; you'll be notified when one completes. Never fabricate or predict a pending agent's results — the notification is never something you write yourself; if the user asks before it arrives, say it's still running.
12 12
13 13 - The agent's final report is not shown to the user — relay what matters.
14 14 - Use SendMessage with the agent's ID or name to continue a previously spawned agent with its context intact; a new Agent call starts fresh (except subagent_type: "fork", which inherits your context).
15 15 - Each agent type's model, reasoning effort, and tools come from its definition (`.claude/agents/*.md` frontmatter or SDK `agents`).
16 16 - `isolation: "worktree"` gives the agent its own git worktree (auto-cleaned if unchanged).

What it accepts

5 parameters The JSON parameter schema sent beside this description, 1,332 characters of it. Name, type, then whether the client marked it required.
description string required A short (3-5 word) description of the task
isolation worktree | remote optional Isolation mode. "worktree" creates a temporary git worktree so the agent works on an isolated copy of the repo. "remote" launches the agent in a remote cloud environment (always runs in background; availability is gated).
model sonnet | opus | haiku | fable optional Optional model override for this agent. Takes precedence over the agent definition's model frontmatter and the configured default subagent model. If omitted, uses the agent definition's model, else the default (inherits from the parent unless a default subagent model is configured). Ignored for subagent_type: "fork" — forks always inherit the parent model.
prompt string required The task for the agent to perform
subagent_type string optional The type of specialized agent to use for this task

sha256 c7b54fe7c22e · the schema as the client sent it:

{ "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "description": { "description": "A short (3-5 word) description of the task", "type": "string" }, "isolation": { "description": "Isolation mode. \"worktree\" creates a temporary git worktree so the agent works on an isolated copy of the repo. \"remote\" launches the agent in a remote cloud environment (always runs in background; availability is gated).", "enum": [ "worktree", "remote" ], "type": "string" }, "model": { "description": "Optional model override for this agent. Takes precedence over the agent definition's model frontmatter and the configured default subagent model. If omitted, uses the agent definition's model, else the default (inherits from the parent unless a default subagent model is configured). Ignored for subagent_type: \"fork\" \u2014 forks always inherit the parent model.", "enum": [ "sonnet", "opus", "haiku", "fable" ], "type": "string" }, "prompt": { "description": "The task for the agent to perform", "type": "string" }, "subagent_type": { "description": "The type of specialized agent to use for this task", "type": "string" } }, "required": [ "description", "prompt" ], "type": "object" }