{"version":"2.1.329","anchor":"hook-schema-gains-internal-holdstools-option","canonical_anchor":"hook-schema-gains-internal-holdstools-option","heading":"Internal hook option lets prompts go ahead while tools wait","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/hook-schema-gains-internal-holdstools-option","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Internal hook option lets prompts go ahead while tools wait\n\nHook settings accept an internal holdsTools option: the prompt goes ahead without waiting, and tools wait until the hook exits or times out\n\n**Unclear.** It is not clear whether Claude Code stops hooks other than the security-guidance plugin's from using holdsTools.\n\n**What**\n\nA hook is a script Claude Code runs at set moments. Hook settings now accept an optional true-or-false `holdsTools` setting. It is marked internal and meant only for the `UserPromptSubmit` hooks of the official security-guidance plugin. `UserPromptSubmit` hooks run when you send a prompt.\n\nWhen `holdsTools` is true:\n\n- Your prompt goes to Claude without waiting for the hook.\n\n- The hook's output is ignored.\n\n- Tools wait until the hook exits or times out.\n\n**Why**\n\nThe hook can run while Claude is already working on your prompt, instead of holding the prompt back. No tool runs before the hook is done.\n\n- Area: Hooks\n- Names: `holdsTools`, `UserPromptSubmit`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}