llmwire - v2.2.0
    Preparing search index...

    Interface Tool

    A function the model may call. With execute, the factory runs it when maxSteps > 1.

    interface Tool {
        description?: string;
        execute?: (args: any, ctx: { signal?: AbortSignal }) => unknown;
        name: string;
        parameters: Record<string, unknown>;
    }
    Index
    description?: string
    execute?: (args: any, ctx: { signal?: AbortSignal }) => unknown
    name: string
    parameters: Record<string, unknown>

    JSON Schema for the arguments.