(name: string)
| 65 | // catalog tool keeps its name, everything else (user MCP/custom/unknown) |
| 66 | // collapses to "other" so series count stays finite. |
| 67 | function cappedToolName(name: string): string { |
| 68 | return TOOL_CATALOG[name] ? name : 'other' |
| 69 | } |
| 70 | |
| 71 | // recordSimToolMetric emits copilot.tool.calls (+1) and copilot.tool.duration |
| 72 | // for one server-side Sim tool dispatch (executor=sim). outcome is the bounded |
no outgoing calls
no test coverage detected