{"version":"2.1.331","anchor":"tool-schema-cache-key-and-deferred-tool-search-tweak","canonical_anchor":"tool-schema-cache-key-and-deferred-tool-search-tweak","heading":"A new way of building the tool list can drop command deny rules","tier":"internal","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/tool-schema-cache-key-and-deferred-tool-search-tweak","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### A new way of building the tool list can drop command deny rules\n\nUnder a certain condition, Claude Code builds its tool list with a different cache key and without the command deny rules\n\n**Unclear.** It is not shown when the mode check passes, so it is unclear when command deny rules are left out.\n\n**What**\n\nWhen a particular mode check passes, Claude Code now builds its list of tools differently. It keys its saved copy of the tool definitions by a hash of the tool names, and it leaves out the command deny rules, which are rules that forbid certain commands, when building that list. Otherwise it behaves as before.\n\n**Why**\n\nThis may be a new way of listing tools.\n\n- Area: Permissions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}