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>