Set routing logic on one or more nodes. Pass multiple nodes in one call instead of separate tool calls. Linear routing (A to B to C) is supported. NOTE: Conditional branching (different paths based on which option is picked) is a planned feature - do not create conditional branching paths.
Each rule maps an option (by its text content) to a target node. Rules without option_content are "default" rules applied to all unmatched options.
Example:
nodes: [
{ node_id: "q1-id", rules: [{ target_node_id: "q2-id" }] },
{ node_id: "q2-id", rules: [{ target_node_id: "q3-id" }] }
]
Connector