共用方式為


ItemCustomToolCall interface

呼叫模型建立的自訂工具。

Extends

屬性

call_id

一個用於將此自訂工具呼叫映射到工具呼叫輸出的識別碼。

id

OpenAI 平台自訂工具呼叫的唯一 ID。

input

模型產生的自訂工具呼叫輸入。

name

正在被呼叫的自訂工具名稱。

type

自訂工具呼叫的類型。 一律為 custom_tool_call

屬性詳細資料

call_id

一個用於將此自訂工具呼叫映射到工具呼叫輸出的識別碼。

call_id: string

屬性值

string

id

OpenAI 平台自訂工具呼叫的唯一 ID。

id?: string

屬性值

string

input

模型產生的自訂工具呼叫輸入。

input: string

屬性值

string

name

正在被呼叫的自訂工具名稱。

name: string

屬性值

string

type

自訂工具呼叫的類型。 一律為 custom_tool_call

type: "custom_tool_call"

屬性值

"custom_tool_call"