| 1 | // Parameter schema for tool inputs/outputs |
| 2 | export interface ParameterSchema { |
| 3 | type: string; |
| 4 | description?: string; |
| 5 | required?: boolean; |
| 6 | default?: unknown; |
| 7 | example?: unknown; |
| 8 | enum?: string[]; |
| 9 | // Nested object properties (JSON Schema) |
| 10 | properties?: Record<string, ParameterSchema>; |
| 11 | // Required fields within this object |
| 12 | requiredFields?: string[]; |
| 13 | // Array item schema |
| 14 | items?: ParameterSchema; |
| 15 | // Additional properties schema (for map/dictionary types) |
| 16 | additionalProperties?: ParameterSchema | boolean; |
| 17 | } |
| 18 | |
| 19 | export interface Tool { |
| 20 | slug: string; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…