Methods
exec(appDir:, tools:, toolOptsCb:) → {function}
Parameters:
| Name | Type | Description |
|---|---|---|
appDir: |
String
|
application directory which is the location of the node.js module file which uses convo-node this directory should be on directory lower than where package.json is located |
tools: |
Array
|
array of MCP tools to be registered |
toolOptsCb: |
function
|
callback function to create custom tool options |
Returns:
- Type:
-
function
exec function that runs command via bagofcli