⚠️ Deprecated ⚠️

Import as "OpenAIToolCall" instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

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



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