ToolCallDetails interface

代理人所作工具呼叫的細節

屬性

arguments

工具參數/參數。 物件會自動序列化成 JSON。

description

工具或用途的可選描述

endpoint

工具執行的端點

toolCallId

工具呼叫的唯一識別碼

toolName

被執行的工具名稱

toolType

所執行工具的類型

屬性詳細資料

arguments

工具參數/參數。 物件會自動序列化成 JSON。

arguments?: string | Record<string, unknown>

屬性值

string | Record<string, unknown>

description

工具或用途的可選描述

description?: string

屬性值

string

endpoint

工具執行的端點

endpoint?: ServiceEndpoint

屬性值

toolCallId

工具呼叫的唯一識別碼

toolCallId?: string

屬性值

string

toolName

被執行的工具名稱

toolName: string

屬性值

string

toolType

所執行工具的類型

toolType?: string

屬性值

string