Error reference changederrors
Nearest release: v2.1.235, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+21added
Lines−0removed
From line
132
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits187to this page, all time
The whole hunk
from line 132, old and new numbered
/
from line 132
132132| `Plugin archive integrity check failed` | [Plugin errors](#plugin-archive-integrity-check-failed) |
133133| `would be spawned with zero tools — refusing` | [Tool errors](#agent-would-be-spawned-with-zero-tools) |
134134| `File is covered by a Read deny rule in your permission settings` | [Tool errors](#file-is-covered-by-a-read-deny-rule) |
135| `subagent_type is required: the general-purpose agent is not available in this session` | [Tool errors](#subagent-type-is-required) |
135136| `Error: this write left the memory index at MEMORY.md at ..., over its ... read limit` | [Tool errors](#memory-index-is-over-its-read-limit) |
136137| `pkill: refusing to run` | [Tool errors](#pkill-pattern-matches-the-claude-code-process) |
137138| `Failed to write to <name>'s inbox — nothing was sent` | [Tool errors](#failed-to-write-to-a-teammate-inbox) |
from line 1887
18861887
18871888* If Claude should be able to change the file, remove or narrow the `Read` deny rule in `/permissions` or in [settings](/docs/en/settings#permission-settings)
18881889* If the file must stay untouched, keep the rule and add an `Edit` deny rule for the same path to block the NotebookEdit tool too
1890
1891<h3 id="subagent-type-is-required">
1892 subagent\_type is required
1893</h3>
1894
1895```text theme={null}
1896subagent_type is required: the general-purpose agent is not available in this session. Available agents: ...
1897```
1898
1899Claude called the [Agent tool](/docs/en/tools-reference#agent-tool-behavior) without a `subagent_type`, and this session has no [general-purpose subagent](/docs/en/sub-agents#built-in-subagents) to fall back on. That is the case in two setups:
1900
1901* [`CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS=1`](/docs/en/env-vars) is set in non-interactive mode, which removes every built-in subagent
1902* The session's main-thread agent has a [`tools: Agent(...)` allowlist](/docs/en/sub-agents#restrict-which-subagents-can-be-spawned) that leaves out `general-purpose`
1903
1904**What to do:**
1905
1906* Usually nothing: the message lists the subagents the session does have, and Claude retries with one of them
1907* If Claude keeps failing, add `general-purpose` to the `tools: Agent(...)` allowlist, or unset `CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS`
1908
1909Before v2.1.235, the same call failed with `Agent type 'general-purpose' not found`.
18891910
18901911### Memory index is over its read limit
18911912
No line in this hunk matches that.