lloyal-agents API Reference
    Preparing search index...

    Interface JsonSchema

    JSON Schema definition for tool parameter validation

    Describes the shape of arguments a Tool accepts. Passed to the model via formatChat() so it can generate valid tool-call arguments.

    interface JsonSchema {
        type: string;
        properties?: Record<string, unknown>;
        required?: string[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional schema constraints (minItems, enum, etc.)

    Index

    Properties

    type: string

    JSON Schema type (e.g. "object", "string", "array")

    properties?: Record<string, unknown>

    Property definitions when type is "object"

    required?: string[]

    Required property names when type is "object"