FlowDSL Node Catalog

LLM Tool Router

Inspect a ChatResponse and route to "Tool" when the assistant issued a tool call, otherwise to "Message".

Overview

PropertyValue
Node IDredelay/llm-tool-router
Kindrouter
Modulellm-flowdsl
Repogo-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