Assert the explore tool in a `tools/list` surface is marked always-load for Claude Code (#1696).
(surface: ToolDefinition[])
| 39 | |
| 40 | /** Assert the explore tool in a `tools/list` surface is marked always-load for Claude Code (#1696). */ |
| 41 | function expectExploreAlwaysLoad(surface: ToolDefinition[]): void { |
| 42 | const explore = surface.find((t) => t.name === 'codegraph_explore'); |
| 43 | expect(explore, 'codegraph_explore is missing from the surface').toBeDefined(); |
| 44 | expect(explore!._meta).toEqual({ 'anthropic/alwaysLoad': true }); |
| 45 | } |
| 46 | |
| 47 | describe('Read-only annotations on the codegraph MCP tools (#1018)', () => { |
| 48 | const original = process.env[ENV]; |
no outgoing calls
no test coverage detected