interface ToolCall {
    function: FunctionCall;
    id: string;
    type: "function";
}

Properties

Properties

function: FunctionCall

The function that the model called.

id: string

The ID of the tool call.

type: "function"

The type of the tool. Currently, only function is supported.

Generated using TypeDoc