Skip to content

JSONSchema

Defined in: packages/ai.matey.types/src/ir.ts:191

JSON Schema for tool parameters.

Simplified schema supporting common validation patterns.

readonly optional additionalProperties: boolean | JSONSchema

Defined in: packages/ai.matey.types/src/ir.ts:199


readonly optional const: unknown

Defined in: packages/ai.matey.types/src/ir.ts:195


readonly optional default: unknown

Defined in: packages/ai.matey.types/src/ir.ts:206


readonly optional description: string

Defined in: packages/ai.matey.types/src/ir.ts:193


readonly optional enum: readonly unknown[]

Defined in: packages/ai.matey.types/src/ir.ts:194


readonly optional examples: readonly unknown[]

Defined in: packages/ai.matey.types/src/ir.ts:207


readonly optional format: string

Defined in: packages/ai.matey.types/src/ir.ts:205


readonly optional items: JSONSchema

Defined in: packages/ai.matey.types/src/ir.ts:198


readonly optional maximum: number

Defined in: packages/ai.matey.types/src/ir.ts:201


readonly optional maxLength: number

Defined in: packages/ai.matey.types/src/ir.ts:203


readonly optional minimum: number

Defined in: packages/ai.matey.types/src/ir.ts:200


readonly optional minLength: number

Defined in: packages/ai.matey.types/src/ir.ts:202


readonly optional pattern: string

Defined in: packages/ai.matey.types/src/ir.ts:204


readonly optional properties: Record<string, JSONSchema>

Defined in: packages/ai.matey.types/src/ir.ts:196


readonly optional required: readonly string[]

Defined in: packages/ai.matey.types/src/ir.ts:197


readonly optional type: JSONSchemaType | readonly JSONSchemaType[]

Defined in: packages/ai.matey.types/src/ir.ts:192