(tool: string, params: unknown)
| 10 | const log = (...args: unknown[]) => { if (debug) console.log(...args); }; |
| 11 | |
| 12 | function mcpCall(tool: string, params: unknown) { |
| 13 | if (!debug) return; |
| 14 | console.log(JSON.stringify({ event: 'mcp.tool_call', tool, params }, null, 2)); |
| 15 | } |
| 16 | function mcpResult(tool: string, payloadObj: unknown) { |
| 17 | if (!debug) return; |
| 18 | const response = { content: [ |
no outgoing calls
no test coverage detected