Workflow as Tool
Workflow as Tool
Section titled “Workflow as Tool”Expose another workflow as a callable tool.
What it does
Section titled “What it does”Exposes another workflow as a tool the Tools Agent can call. It reuses the same headless runner that the Lambda Workflow node uses: it resolves the selected workflow, runs it against the tool call’s input, and returns whatever its Output node produced.
When to use it
Section titled “When to use it”Connect this to Tools Agent nodes when you want the agent to be able to delegate a sub-task to another, already-built workflow rather than reasoning through it directly.
Inputs and settings
Section titled “Inputs and settings”| Setting | Notes |
|---|---|
| Workflow | The workflow to call, picked from a workflow selector. Only the first selection is used. |
| Tool Name | The name the agent sees for this tool. Defaults to workflow_tool. |
| Tool Description | Describes to the agent what this tool does and when to call it. Defaults to “Runs a workflow and returns its output.” |
Outputs
Section titled “Outputs”Returns a tool dependency (named per the Tool Name setting) that agent nodes can call with an optional input string. It runs the selected workflow with that input and returns its output, stringified as JSON if it isn’t already a string.
Dependencies and credentials
Section titled “Dependencies and credentials”- Requires a workflow to be selected in the Workflow field; if none is selected, calling the tool throws an error.
- No explicit credential is declared in the node description.
Example workflow
Section titled “Example workflow”Connect Workflow as Tool to a Tools Agent’s tools input, select a target workflow, and give it a descriptive Tool Name and Tool Description so the agent knows when to call it. When the agent calls the tool, the target workflow runs with the given input and its output is returned to the agent.
Troubleshooting
Section titled “Troubleshooting”- Check that a workflow is selected before running the node — no workflow selected causes the tool call to throw an error.
- Write a clear Tool Description so the agent knows when it should call this tool versus others.
- If it calls an external service, verify credentials, permissions, and rate limits.
- No dedicated source test was found next to this node; verify behavior manually when changing this page.