Documentation
    Preparing search index...

    Interface MockLlmTool

    A tool the model may call (pr138).

    const tool: MockLlmTool = { name: 'get_weather', parameters: { type: 'object' } };
    
    interface MockLlmTool {
        description?: string;
        name: string;
        parameters?: Record<string, unknown>;
    }
    Index

    Properties

    description?: string

    What the tool does.

    name: string

    Tool name.

    parameters?: Record<string, unknown>

    JSON Schema for the arguments.