{"version":"2.1.324","anchor":"new-hook-no-verdict-warning-message-field","canonical_anchor":"new-hook-no-verdict-warning-message-field","heading":"SDK hosts are told when a PreToolUse hook gave no answer","tier":"use","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/new-hook-no-verdict-warning-message-field","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### SDK hosts are told when a PreToolUse hook gave no answer\n\nSystem messages sent to SDK programs can now carry a warning, once per hook per session, when a PreToolUse hook gave no verdict\n\n**What**\n\nA hook is a script you set up to run at a certain moment. A `PreToolUse` hook runs before Claude carries out an action and can allow or block it. Programs that drive Claude Code through its SDK (its programming interface) receive system messages from it, and those messages can now include a `hook_no_verdict` field. It is sent once per hook per session, when a `PreToolUse` hook finished without giving an answer.\n\n**Why**\n\nA program built on the SDK can now show its own notice when a hook is not deciding anything, which helps spot a hook that is set up wrong.\n\n- Area: SDK\n- Names: `hook_no_verdict`, `PreToolUse`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}