(tool: ToolConfig<P, R>, params: P)
| 74 | } |
| 75 | |
| 76 | function buildBody<P, R>(tool: ToolConfig<P, R>, params: P): unknown { |
| 77 | return tool.request.body?.(params) |
| 78 | } |
| 79 | |
| 80 | function responseJson(body: unknown): Response { |
| 81 | return new Response(JSON.stringify(body)) |
no outgoing calls
no test coverage detected