five-on-it / apps/creator/src/tools / CreationTools
Interface: CreationTools
Defined in: apps/creator/src/tools.ts:66
The tools of one creation.
Properties
functions
functions:
FunctionTool[]
Defined in: apps/creator/src/tools.ts:68
The functions offered to the model, in a fixed order (the cached prefix's).
Methods
call()
call(
name,args):Promise<ToolAnswer>
Defined in: apps/creator/src/tools.ts:70
Calls a function by its name with its arguments (parsed JSON).
Parameters
name
string
args
Record<string, unknown>
Returns
Promise<ToolAnswer>
close()
close():
Promise<void>
Defined in: apps/creator/src/tools.ts:72
Lets go of the server.
Returns
Promise<void>