{"version":"2.1.326","anchor":"tool-run-modules-can-hold-or-gate-tool-calls","canonical_anchor":"tool-run-modules-can-hold-or-gate-tool-calls","heading":"Tool calls can be held and re-checked before they run","tier":"internal","area":"Tools","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/tool-run-modules-can-hold-or-gate-tool-calls","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Tool calls can be held and re-checked before they run\n\nClaude Code can now pass tool calls through run modules that hold them and re-check stop, permission and cancel state when they are released\n\n**Unclear.** It is not clear what switches run modules on or how a reader would add one.\n\n**What**\n\nA tool call is a single action Claude takes, such as running a command or editing a file. Claude Code can now send tool calls through run modules, which are add-on pieces of code that sit around a tool call while it runs. A run module can hold a call. When the call is released, Claude Code checks it again against:\n\n- whether the turn has been stopped\n\n- whether the call is still permitted\n\n- whether the call has been cancelled\n\nIf the call is refused at that point, it fails with the message \"script call refused after a tool.run hold\". When no run modules are present, tool calls run directly as they did before.\n\n**Why**\n\nThis lets the module system wrap tool execution itself, so a held call cannot slip through after a stop, a permission change or a cancel.\n\n- Area: Tools\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}