{"version":"2.1.275","anchor":"tool-pool-cache-now-also-keys-on-waitformcpservers-declarati","canonical_anchor":"tool-pool-cache-now-also-keys-on-waitformcpservers-declarati","heading":"Tool pool cache now also keys on WaitForMcpServers declaration and a REPL primitive grant","tier":"internal","area":"Tools","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/tool-pool-cache-now-also-keys-on-waitformcpservers-declarati","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### Tool pool cache now also keys on WaitForMcpServers declaration and a REPL primitive grant\n\nInternal tool-pool cache now also depends on WaitForMcpServers usage and a REPL primitive grant\n\n**What**\n\nClaude Code's internal cache of which tools are available (the \"tool pool\") now also takes into account two more factors when deciding whether to reuse a cached result: whether the host has declared it uses the `WaitForMcpServers` tool, and a \"REPL primitive grant\" derived from the main agent. Previously the cache only tracked the set of tools and allowed subagent types.\n\n**Why**\n\nThis is an internal correctness fix: without tracking these inputs, the tool pool could theoretically serve a stale cached result when either of these factors changed. It shouldn't be noticeable to users beyond more accurate tool availability.\n\n- Area: Tools\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}