Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.121 ·

updatedToolOutput Hook Property

Entry
JSON All of v2.1.121
EntryKind: in v2.1.121,
ChangesSection of the release
What

PostToolUse hooks can now replace tool output for ALL tools (not just MCP tools) via the new updatedToolOutput field.

Details
  • Previously, only updatedMCPToolOutput was available, which only worked for MCP tools
  • The new updatedToolOutput field works for any tool (Bash, Read, Write, Edit, MCP, etc.)
  • The old updatedMCPToolOutput is retained but its description now says "Prefer updatedToolOutput, which works for all tools"
  • Validation error if hook output doesn't match expected tool output shape: "PostToolUse hook returned updatedToolOutput that does not match {tool}'s output shape"
Evidence

Hook output replacement (search for "updatedToolOutput", "Replaces the tool output before it is sent to the model")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.121 →

Feedback