{"version":"2.1.329","anchor":"hook-held-tools-wait-for-file-copy-holdtools","canonical_anchor":"hook-held-tools-wait-for-file-copy-holdtools","heading":"Tool use can wait for a hook that copies session files","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/hook-held-tools-wait-for-file-copy-holdtools","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Tool use can wait for a hook that copies session files\n\nA hook can now make Claude's next tool calls wait for it to finish, and those calls are refused if the file copy failed or timed out\n\n**Unclear.** It is not clear whether this is switched on, or which hooks can use it.\n\n**What**\n\nA hook is a script Claude Code runs at set moments. A hook can now return `holdTools`. When it does, the tool calls Claude makes next (actions such as reading a file or running a command) wait until the hook finishes. If the hook's copy failed or timed out, those tool calls are refused with a message saying that copying this session's files to this machine failed or was cut short.\n\n**Why**\n\nIt matters for cloud sessions that copy files onto the machine first. Claude does not act on files that have not arrived.\n\n- Area: Hooks\n- Names: `holdTools`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}