MCP Tool Result Post-Hook Ordering

Description

For non-MCP tools the tool_result is emitted before the PostToolUse hook fires. For MCP tools, the result is delayed until after post hooks run, enabling updatedMCPToolOutput from PostToolUse to take effect.

Key claims

Relations

Sources

src-20260423-0cff68d3291b