共用方式為


CustomToolParam interface

一個自訂工具,能依照指定格式處理輸入。 了解更多自訂 工具

Extends

屬性

description

自訂工具的可選描述,用以提供更多背景說明。

format

自訂工具的輸入格式。 預設是無限制文字。

name

自訂工具名稱,用於工具呼叫時的識別。

type

自訂工具的類型。 一律為 custom

屬性詳細資料

description

自訂工具的可選描述,用以提供更多背景說明。

description?: string

屬性值

string

format

自訂工具的輸入格式。 預設是無限制文字。

format?: CustomToolParamFormatUnion

屬性值

name

自訂工具名稱,用於工具呼叫時的識別。

name: string

屬性值

string

type

自訂工具的類型。 一律為 custom

type: "custom"

屬性值

"custom"