{"version":"2.1.337","anchor":"hook-failure-rows-render-under-the-tool-call-for-pretooluse","canonical_anchor":"hook-failure-rows-render-under-the-tool-call-for-pretooluse","heading":"Hook failure messages are now spaced out and placed under the tool call","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/hook-failure-rows-render-under-the-tool-call-for-pretooluse","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Hook failure messages are now spaced out and placed under the tool call\n\nHook error, timeout, stopped and deferred messages now get extra spacing, and PreToolUse ones appear under the tool call they belong to\n\n**What**\n\nHooks are your own commands that Claude Code runs automatically at certain moments. A `PreToolUse` hook runs before a tool call, which is one action Claude takes, and can block it. The layout of hook messages in the conversation has changed:\n\n- Hook error and failure messages now get extra spacing.\n\n- The hook timeout notice now gets extra spacing.\n\n- \"Hook stopped Claude\" and \"hook deferred\" messages now get extra spacing.\n\n- For `PreToolUse` hooks, these messages are now shown under the tool call.\n\n**Why**\n\nThis is a small visible change in how hook problems are laid out in the conversation.\n\n- Area: Hooks\n- Names: `PreToolUse`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}