CustomToolParam interface

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

Extends

屬性

allowed_callers
defer_loading

是否應該延後這個工具,並透過工具搜尋來發現。

description

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

format

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

name

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

type

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

屬性詳細資料

allowed_callers

allowed_callers?: CallableToolAllowedCaller[]

屬性值

defer_loading

是否應該延後這個工具,並透過工具搜尋來發現。

defer_loading?: boolean

屬性值

boolean

description

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

description?: string

屬性值

string

format

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

format?: CustomToolParamFormatUnion

屬性值

name

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

name: string

屬性值

string

type

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

type: "custom"

屬性值

"custom"