Fetching from the wire…
Public story · 2026-07-17 · high
The default is 200 search calls and 200 subagent spawns per session, adjustable through an environment variable when you hit it.
Why now: The caps landed in the July 17 changelog alongside a batch of other 2.1.212 fixes.
Claude Code 2.1.212 caps how many WebSearch calls and subagent spawns a single session can make, per the July 17 changelog. Anyone running Claude Code unattended now hits a real ceiling: 200 search calls or 200 subagent spawns per session by default. No more open-ended token bill.
The WebSearch limit is tunable through CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION. The subagent-spawn limit uses the same default of 200 and is tunable through CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION.
Running /clear resets the subagent-spawn budget, per the changelog. The changelog doesn't say whether /clear also resets the search cap.
The same release auto-backgrounds any MCP tool call that runs past two minutes, so a slow tool can't freeze the session.
A related fix in the same 2.1.212 batch closes a plan-mode bug that let file-modifying bash commands run without a permission prompt, per the changelog.
Anyone scheduling a long, unattended multi-agent run should check both env vars before kicking it off, not after hitting the wall.
Each link below shares sources, entities, or timing with this story.
Same source / Semantically similar
Cite the same source (Claude Code Changelog); covers closely related ground (similarity 0.77).
Cite the same source (Claude Code Changelog); covers closely related ground (similarity 0.71).
Same source
Cite the same source (Claude Code Changelog).
Cite the same source (Claude Code Changelog).
Cite the same source (Claude Code Changelog).
Cite the same source (Claude Code Changelog).
Cite the same source (Claude Code Changelog).
Cite the same source (Claude Code Changelog).