@chinmaymk/aikit / Tool
Interface: Tool
Defined in: types.ts:80
Teach the AI new tricks. This is how you define a tool it can use.
Properties
name
name:
string
Defined in: types.ts:82
The name of your shiny new tool. Make it a good one.
description
description:
string
Defined in: types.ts:84
A description of what the tool does. Be specific. The AI is smart, but not a mind reader.
parameters
parameters:
Record
<string
,unknown
>
Defined in: types.ts:89
The JSON schema for the tool's parameters. This is how you tell the AI what knobs and levers your tool has.