(description: InputSchemaDescription)
| 79 | } |
| 80 | |
| 81 | function buildInputSchema(description: InputSchemaDescription) { |
| 82 | return lazySchema(() => |
| 83 | z.strictObject({ |
| 84 | code: z.string().describe(description.codeDescription), |
| 85 | timeout_ms: z |
| 86 | .number() |
| 87 | .int() |
| 88 | .min(1) |
| 89 | .max(MAX_TIMEOUT_MS) |
| 90 | .optional() |
| 91 | .default(DEFAULT_TIMEOUT_MS) |
| 92 | .describe(`Maximum execution time in milliseconds (1-${MAX_TIMEOUT_MS})`), |
| 93 | }), |
| 94 | ) |
| 95 | } |
| 96 | |
| 97 | function buildOutputSchema() { |
| 98 | return lazySchema(() => |
no test coverage detected