共用方式為


FunctionShellCallItemParam interface

一個代表執行一個或多個 shell 指令請求的工具。

Extends

屬性

action

shell 指令和限制,描述如何執行工具呼叫。

call_id

模型產生的殼層工具呼叫的唯一 ID。

id

shell工具呼叫項目的唯一ID。

status

項目的狀態。 in_progresscompletedincomplete 的其中之一。 透過 API 傳回項目時填入。

type

專案的型別。 一律為 shell_call

屬性詳細資料

action

shell 指令和限制,描述如何執行工具呼叫。

action: FunctionShellActionParam

屬性值

call_id

模型產生的殼層工具呼叫的唯一 ID。

call_id: string

屬性值

string

id

shell工具呼叫項目的唯一ID。

id?: string

屬性值

string

status

項目的狀態。 in_progresscompletedincomplete 的其中之一。 透過 API 傳回項目時填入。

status?: FunctionShellCallItemStatus

屬性值

type

專案的型別。 一律為 shell_call

type: "shell_call"

屬性值

"shell_call"