(error)
| 20 | .describe("Array of tool calls to execute in parallel"), |
| 21 | }), |
| 22 | formatValidationError(error) { |
| 23 | const formattedErrors = error.issues |
| 24 | .map((issue) => { |
| 25 | const path = issue.path.length > 0 ? issue.path.join(".") : "root" |
| 26 | return ` - ${path}: ${issue.message}` |
| 27 | }) |
| 28 | .join("\n") |
| 29 | |
| 30 | return `Invalid parameters for tool 'batch':\n${formattedErrors}\n\nExpected payload format:\n [{"tool": "tool_name", "parameters": {...}}, {...}]` |
| 31 | }, |
| 32 | async execute(params, ctx) { |
| 33 | const { Session } = await import("../session") |
| 34 | const { Identifier } = await import("../id/id") |
nothing calls this directly
no outgoing calls
no test coverage detected