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