ItemFunctionToolCall interface
執行函式的工具呼叫。 如需詳細資訊,請參閱函數呼叫指南。
- Extends
屬性
| arguments | 要傳遞至函式的引數 JSON 字串。 |
| call_id | 模型所產生的函式工具呼叫的唯一標識符。 |
| id | 函數工具呼叫的唯一標識碼。 |
| name | 要執行的函式名稱。 |
| status | 項目的狀態。
|
| type | 函式工具呼叫的類型。 一律為 |
屬性詳細資料
arguments
要傳遞至函式的引數 JSON 字串。
arguments: string
屬性值
string
call_id
模型所產生的函式工具呼叫的唯一標識符。
call_id: string
屬性值
string
id
函數工具呼叫的唯一標識碼。
id?: string
屬性值
string
name
要執行的函式名稱。
name: string
屬性值
string
status
項目的狀態。
in_progress、completed 或 incomplete 的其中之一。 透過 API 傳回項目時填入。
status?: "in_progress" | "completed" | "incomplete"
屬性值
"in_progress" | "completed" | "incomplete"
type
函式工具呼叫的類型。 一律為 function_call。
type: "function_call"
屬性值
"function_call"