(t: Tool)
| 1206 | |
| 1207 | const useGlobalCacheFeature = shouldUseGlobalCacheScope() |
| 1208 | const willDefer = (t: Tool) => |
| 1209 | useToolSearch && (deferredToolNames.has(t.name) || shouldDeferLspTool(t)) |
| 1210 | // MCP tools are per-user → dynamic tool section → can't globally cache. |
| 1211 | // Only gate when an MCP tool will actually render (not defer_loading). |
| 1212 | const needsToolBasedCacheMarker = |
no test coverage detected