Search the documentation
4 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 and is deprecated. * In the TypeScript SDK, a `PostToolUse` callback c…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…Context: NotRequired[str] updatedToolOutput: NotRequired[Any] updatedMCPToolOutput: NotRequired[Any] # Deprecated: use updatedToolOutput, which works for all tools class PostToolUseFailureH…
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;…
Hooks reference
Claude Code CLI · in the page
hooks
…| | `updatedMCPToolOutput` | Replaces the output for [MCP tools](#match-mcp-tools) only. Prefer `updatedToolOutput`, which works for al…