ToolEnabledFunction
此内容尚不支持你的语言。
type ToolEnabledFunction<Context> = (runContext, agent) => Promise<boolean>;
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
|
|
Returns
Section titled “Returns”Promise
<boolean
>