(t: Tool)
| 1233 | |
| 1234 | const useGlobalCacheFeature = shouldUseGlobalCacheScope() |
| 1235 | const willDefer = (t: Tool) => |
| 1236 | useToolSearch && (deferredToolNames.has(t.name) || shouldDeferLspTool(t)) |
| 1237 | // MCP tools are per-user → dynamic tool section → can't globally cache. |
| 1238 | // Only gate when an MCP tool will actually render (not defer_loading). |
| 1239 | const needsToolBasedCacheMarker = |
no test coverage detected