FlowDSL Node Catalog
LLM Tool Router
Inspect a ChatResponse and route to "Tool" when the assistant issued a tool call, otherwise to "Message".
Overview
| Property | Value |
|---|---|
| Node ID | redelay/llm-tool-router |
| Kind | router |
| Module | llm-flowdsl |
| Repo | go-ai |
Inputs
Response— A chat response produced by llm-chat.
Outputs
Tool— Routed when the assistant message contains one or more toolCalls.Message— Routed when the assistant returned plain text (no tool calls).
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: router
action_ref: redelay/llm-tool-router