Skip to main content

Custom Tool Node

Write a custom tool with separated node inputs, tool inputs, and structured outputs.

Properties

LabelPropertyTypeDescriptionDefault ValueIs Required
CodefunctionConfigbotdojo/types/code_sandboxObject
Tool NametoolNameOverridebotdojo/types/stringnull
Tool LabeltoolLabelbotdojo/types/stringThe label to use for the tool in the chat (defaults to the tool name).null
Tool InstructionstoolInstructionsOverridebotdojo/types/stringnull
Hide Step in ChattoolHideStepbotdojo/types/booleanWhen enabled, the tool will not be shown to the user in the chat.false
Hide Step DetailstoolHideStepDetailsbotdojo/types/booleanWhen enabled, the tool step details will be hidden from the user.false
MCP App URLmcpAppUrlbotdojo/types/stringURL to an MCP App widget to render as an inline card when this tool is called. Leave empty for text-only output.null
Card WidthmcpAppWidthbotdojo/types/stringWidth of the card (e.g., '100%', '400px'). Defaults to '100%'.100%
Card HeightmcpAppHeightbotdojo/types/stringInitial height of the card (e.g., '400px'). The widget can resize itself dynamically.400px

Output

LabelPropertyTypeDescriptionDefault Value
Tooltoolbotdojo/interface/toolToolnull