Execute Tool
AI-generatedSummary
Execute a specified UniCraft tool with provided parameters and return the execution result.
Inputs
- Tool Name (required) — Name of the tool to execute
- Tool Parameters — JSON object of parameters to pass to the tool
Output shape
A single JSON object containing the tool name, execution result, and success status.
The output JSON includes keys: 'operation' as 'executeTool', 'toolName' (the executed tool's name), 'result' (tool's execution output), and 'success' (boolean true). If execution fails, the node throws an error.
Examples
Example 1: Execute a weather retrieval tool named 'get_weather' with parameters specifying a location
Set 'Tool Name' to 'get_weather', provide JSON parameters like {"location": "New York"} in 'Tool Parameters'.