{"version":"2.1.331","anchor":"bash-tool-resulthook-bookkeeping-tool-calls-now-record-inn","canonical_anchor":"bash-tool-resulthook-bookkeeping-tool-calls-now-record-inn","heading":"Tools are checked against session permission denials before they run","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/bash-tool-resulthook-bookkeeping-tool-calls-now-record-inn","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Tools are checked against session permission denials before they run\n\nClaude Code now checks whether a tool call was denied for the session before running it, and passes more detail to `PostToolUse` hooks\n\n**What**\n\nA tool call is a single action Claude takes, such as running a command or editing a file. Claude Code now changes how it runs them:\n\n- Before running a tool call, it checks whether a permission rule has denied it for the current session.\n\n- `PostToolUse` hooks, your own scripts that run after a tool call succeeds, are now given a record of whether a hook changed a file.\n\n- Claude Code keeps a record of each smaller call inside a tool call.\n\n**Why**\n\nA call you have denied for the session is caught before it runs, rather than later.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}