AiTool
katanakit-js / AiTool
Interface: AiTool
Section titled “Interface: AiTool”Defined in: types/core/ai.ts:57
A tool the agent can invoke. parameters is a JSON Schema object
describing the expected input.
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
description |
string |
types/core/ai.ts:59 |
name |
string |
types/core/ai.ts:58 |
parameters |
Record<string, unknown> |
types/core/ai.ts:60 |
Methods
Section titled “Methods”execute()
Section titled “execute()”execute(input): unknown;Defined in: types/core/ai.ts:61
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
unknown |
Returns
Section titled “Returns”unknown