Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

5 pages for updatedmcptooloutput.

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 …updatedToolOutput`, which works for any tool in both SDKs. The older `updatedMCPToolOutput` field replaces MCP tool output only. * In the TypeScript SDK, a `PostToolUse` callback can also return `cl… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …Context: NotRequired[str] updatedToolOutput: NotRequired[Any] updatedMCPToolOutput: NotRequired[Any] # MCP tools only. Prefer updatedToolOutput, which works for all tools class PostToolUseF… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …ecated Use `updatedToolOutput`, which works for all tools. */ updatedMCPToolOutput?: unknown; } | { hookEventName: "PostToolUseFailure"; additionalContext?: string;… Claude Code changelog Claude Code CLI · in the page changelog …the turn * Fixed PostToolUse hooks in managed settings not applying `updatedMCPToolOutput` in some sessions * Fixed headless sessions starting a folder's `.mcp.json` or plugin MCP server that was swi… Hooks reference Claude Code CLI · in the page hooks …is sent to Claude. The value must match the tool's output shape | | `updatedMCPToolOutput` | Replaces the output for [MCP tools](#match-mcp-tools) only. Prefer `updatedToolOutput`, which works for al…
Feedback