OpenAIToolCall: {
    function: FunctionCall;
    id: string;
    index: number;
    type: "function";
}

Type declaration

  • function: FunctionCall

    The function that the model called.

  • id: string

    The ID of the tool call.

  • index: number
  • type: "function"

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