Skip to content

Workflow as Tool

Expose another workflow as a callable tool.

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.

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.

SettingNotes
WorkflowThe workflow to call, picked from a workflow selector. Only the first selection is used.
Tool NameThe name the agent sees for this tool. Defaults to workflow_tool.
Tool DescriptionDescribes to the agent what this tool does and when to call it. Defaults to “Runs a workflow and returns its output.”

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.

  • 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.

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.

  • 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.