Search the documentation
5 pages for updatedtooloutput.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…tool result. To replace the tool's output before Claude sees it, set `updatedToolOutput`, which works for any tool in both SDKs. The older `updatedMCPToolOutput` field replaces MCP tool output only an…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…e: Literal["PostToolUse"] additionalContext: NotRequired[str] updatedToolOutput: NotRequired[Any] updatedMCPToolOutput: NotRequired[Any] # Deprecated: use updatedToolOutput, which works f…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…tput into it. */ classifierContext?: string; updatedToolOutput?: unknown; /** @deprecated Use `updatedToolOutput`, which works for all tools. */ updatedMCPTool…
Hooks reference
Claude Code CLI · in the page
hooks
…ision control](#permissionrequest-decision-control) * `PostToolUse`: `updatedToolOutput` replaces the tool's result. See [PostToolUse decision control](#posttooluse-decision-control) * `UserPromptSubm…
Week 18 · April 27 – May 1, 2026
Claude Code CLI · in the page
whats-new/2026-w18
…oks can replace tool output for any tool via <code>hookSpecificOutput.updatedToolOutput</code>, not only MCP tools</div> <div>New <a href="/docs/docs/en/ultrareview"><code>claude ultrareview</code…