{"version":"2.1.26","anchor":"hook-interrupt-support","canonical_anchor":"hook-interrupt-support","heading":"Hook Interrupt Support","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.26\/e\/hook-interrupt-support","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.26","markdown":"### Hook Interrupt Support\n\n**What**\n\nHooks can now interrupt and abort tool execution. When a hook returns a response with the `interrupt` flag set, the tool's abort controller is triggered, stopping the in-progress operation.\n\n**Details**\n\n- Applies to both pre-tool and post-tool hooks\n- When a hook signals interrupt, the tool execution is aborted via `abortController.abort()`\n- The interrupt is logged with tool name and hook message for debugging\n- This also applies to SDK permission prompts: a deny with interrupt will abort the controller\n\n**Evidence**\n\nHook abort on interrupt (search for `\"Hook interrupt: tool=\"`) and SDK deny+interrupt (search for `\"SDK permission prompt deny+interrupt: tool=\"`)"}