CoAgent8 - Source API
    Preparing search index...

    Type Alias Schema

    Recursive subset of JSON Schema supported by validateToolArguments.

    This describes the validator's supported keywords, not the full JSON Schema specification. Nested properties and array items use the same subset.

    type Schema = {
        additionalProperties?: boolean;
        enum?: unknown[];
        items?: Schema;
        maximum?: number;
        minimum?: number;
        minLength?: number;
        properties?: Record<string, Schema>;
        required?: string[];
        type?: string | string[];
    }
    Index
    additionalProperties?: boolean
    enum?: unknown[]
    items?: Schema
    maximum?: number
    minimum?: number
    minLength?: number
    properties?: Record<string, Schema>
    required?: string[]
    type?: string | string[]