{"version":"2.1.327","anchor":"blocked-tool-lookup-now-cached-per-config","canonical_anchor":"blocked-tool-lookup-now-cached-per-config","heading":"Checking for blocked tools is faster and ignores malformed permission values","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/blocked-tool-lookup-now-cached-per-config","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Checking for blocked tools is faster and ignores malformed permission values\n\nClaude Code now remembers which tools your toolPermissions block, and treats a non-object value there as blocking nothing\n\n**What**\n\nClaude Code checks a `toolPermissions` configuration to see whether a tool is blocked. That check now builds the list of blocked tools once for each configuration and reuses it. Before, it went through every entry again each time it checked.\n\nThe check also now answers \"not blocked\" when the `toolPermissions` value is not an object, for example when it is a string or a number.\n\n**Why**\n\nIn practice this is a speed improvement. The one behaviour change is the edge case: a `toolPermissions` value of the wrong type blocks nothing.\n\n- Area: Permissions\n- Names: `toolPermissions`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}