( properties: Record<string, JsonSchema>, required: readonly string[], )
| 48 | } |
| 49 | |
| 50 | const object = ( |
| 51 | properties: Record<string, JsonSchema>, |
| 52 | required: readonly string[], |
| 53 | ): JsonSchema => ({ |
| 54 | type: "object", |
| 55 | properties, |
| 56 | ...(required.length > 0 ? { required: [...required] } : {}), |
| 57 | additionalProperties: false, |
| 58 | }); |
| 59 | |
| 60 | export const SKY_TOOLS: readonly SkyToolDefinition[] = [ |
| 61 | { |