POST a non-codemode tools/call to the real worker.
(token: string, name: string, args: Record<string, unknown>)
| 61 | inputSchema: { properties?: Record<string, unknown>; required?: string[] } |
| 62 | }> |
| 63 | } |
| 64 | } |
| 65 | return result.result?.tools ?? [] |
| 66 | } |
| 67 | |
| 68 | /** POST a non-codemode tools/call to the real worker. */ |
| 69 | async function callNonCodemodeTool(token: string, name: string, args: Record<string, unknown>) { |
| 70 | const base = mcpToolCallRequest(token, name, args) |
no test coverage detected