AIDK API Reference / aidk/tool / isExecutableTool
Function: isExecutableTool() ​
ts
function isExecutableTool(value: any): value is ExecutableTool<(input: any) => ContentBlock[] | Promise<ContentBlock[]>>;Defined in: packages/core/src/tool/tool.ts:589
Check if value implements ExecutableTool interface.
Parameters ​
| Parameter | Type |
|---|---|
value | any |
Returns ​
value is ExecutableTool<(input: any) => ContentBlock[] | Promise<ContentBlock[]>>