Represents a JSON Schema definition. Used for defining the structure of tool inputs and outputs.
This is based on JSON Schema Draft 7 specification.
const schema: JSONSchema = { type: 'object', properties: { name: { type: 'string' }, age: { type: 'number' } }, required: ['name']} Copy
const schema: JSONSchema = { type: 'object', properties: { name: { type: 'string' }, age: { type: 'number' } }, required: ['name']}
Represents a JSON Schema definition. Used for defining the structure of tool inputs and outputs.
This is based on JSON Schema Draft 7 specification.