Skip to main content

ChatCompletionMessageToolCall

Type Alias ChatCompletionMessageToolCall 

Source
pub type ChatCompletionMessageToolCall = ChatCompletionMessageFunctionToolCall;

Aliased Type§

pub struct ChatCompletionMessageToolCall {
    pub id: String,
    pub function: Value,
    pub type_: String,
}

Fields§

§id: String

The ID of the tool call.

§function: Value

The function that the model called.

§type_: String

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