Class: ToolFactory
Constructors
constructor
• new ToolFactory(): ToolFactory
Returns
Methods
createTool
▸ createTool(key
, options
): Promise
<BaseTool
>
Parameters
Name | Type |
---|---|
key | Wikipedia |
options | Record <string , any > |
Returns
Promise
<BaseTool
>
Defined in
packages/core/src/tools/ToolFactory.ts:11
createTools
▸ createTools(config
): Promise
<BaseTool
[]>
Parameters
Name | Type |
---|---|
config | ToolConfig |
Returns
Promise
<BaseTool
[]>