LocalLm types documentation
    Preparing search index...

    Interface ToolTurn

    Represents a tool call and its response in a conversation turn.

    ToolTurn

    The tool call specification.

    The response from the tool call.

    const toolTurn: ToolTurn = {
    call: { id: '1', name: 'getWeather', arguments: { location: 'New York' } },
    response: { content: 'Sunny, 72°F' }
    };
    interface ToolTurn {
        call: ToolCallSpec;
        response: any;
    }
    Index

    Properties

    Properties

    response: any