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