Skip to main content

Flow as Tool

Legacy component

Flow as Tool is a legacy component. Use the Run Flow component in tool mode instead.

The Flow as Tool component wraps another Orbis Studio flow as a LangChain-compatible tool that an Agent component can call. When an agent decides to use the tool, it runs the selected flow and returns the result.

The difference from Run Flow is that Flow as Tool constructs a LangChain Tool object directly, while Run Flow in tool mode achieves the same result with a simpler setup that doesn't require a separate component.

Flow as Tool parameters​

Some parameters are hidden by default in the visual editor. You can modify all component parameters through the component inspection panel that appears when you select a component.

NameTypeDescription
Flow NameDropdownInput parameter. The flow to expose as a tool. Click the refresh button to update the list of available flows.
NameTextInput parameter. The tool name the agent uses to identify and call this tool.
DescriptionTextInput parameter. A description of what the tool does. The agent uses this to decide when to call it. Defaults to the selected flow's description.
Return DirectBooleanInput parameter. Advanced. When enabled, the agent returns the tool's result directly to the user without further processing.
ToolToolOutput parameter. A LangChain Tool object wrapping the selected flow, ready to connect to an Agent component's Tools port.