Claude Code removes the TaskOutput tool and its output-length settings
The deprecated TaskOutput tool is gone in Claude Code 2.1.277; Claude reads a background task's output file with Read instead, and taskOutputMaxChars and TASK_MAX_OUTPUT_LENGTH no longer have any effect.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Worth knowingClaude Code 2.1.277 removes the TaskOutput tool and the settings that tuned it. Nothing needs doing before upgrading, but teams that raised the background-task output limit will find those settings no longer do anything.
Engineer
What to change, what breaks, what to test Action neededDelete `taskOutputMaxChars` and `TASK_MAX_OUTPUT_LENGTH` — they parse but do nothing. Rewrite any permission rule or hook matching the TaskOutput tool name to target `Read` instead, since background task output is now read from the task's output file.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is a Claude Code change and does not affect the Claude apps.
Claude Code 2.1.277 removes the deprecated TaskOutput tool. Background task output is now read the ordinary way: Claude opens the task’s output file with the Read tool.
The two settings that governed the removed tool are now inert. The taskOutputMaxChars setting (added in 2.1.261 to raise how much background-task output Claude received inline, up to 128K characters) and the TASK_MAX_OUTPUT_LENGTH environment variable no longer have any effect; configurations that set them still parse but no longer change anything. Permission rules or hooks written against the TaskOutput tool name likewise no longer match anything.
The CHANGELOG.md carries no dates; the date is 2.1.277’s release on GitHub.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
TaskOutput | removed | yes | |
taskOutputMaxChars | removed | yes | |
TASK_MAX_OUTPUT_LENGTH | removed | yes |
Topics: Coding tools
Terms on this page: Deprecation