Write a custom tool using Typescript that can be used in an agent.
Properties
Label | Property | Type | Description | Default Value | Is Required |
---|
Language | Language | botdojo/types/options | The language of the code to run. TypeScript or JavaScript. | TypeScript,JavaScript | |
Allow Callbacks | Allow Callbacks | botdojo/types/boolean | Allow the Code Node to access session state. This is required if you want to use session state in your code. | false | |
Allow Environment Variables | Allow Environment Variables | botdojo/types/boolean | Allow the Code Node to access environment variables via the context.env object. | false | |
Output
Label | Property | Type | Description | Default Value |
---|
Tool | tool | botdojo/interface/tool | Tool | null |