{"version":"2.1.329","anchor":"pretooluse-httpmcp-hook-gives-a-clear-error-when-the-tool-n","canonical_anchor":"pretooluse-httpmcp-hook-gives-a-clear-error-when-the-tool-n","heading":"Hooks that call a tool needing approval now explain why they gave no verdict","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/pretooluse-httpmcp-hook-gives-a-clear-error-when-the-tool-n","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Hooks that call a tool needing approval now explain why they gave no verdict\n\nA `PreToolUse` hook that calls an MCP tool needing a person's approval now gets a clear error instead of a generic failure\n\n**What**\n\nA hook is a command or call you set up to run automatically. A `PreToolUse` hook runs before Claude uses a tool and can block it. When such a hook calls an MCP tool (a tool from a connected outside server) that needs a person to approve it, the call cannot ask for that approval. Claude Code now returns a specific error saying the tool needs a person's approval, which a hook's call can't ask for, so this hook gave no verdict. Before, this showed as a generic failure.\n\n**Why**\n\nA hook that quietly gave no answer is now much easier to diagnose.\n\n- Area: Hooks\n- Names: `PreToolUse`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}