Add Node
add_nodeAdd a node to a workflow with the given kind, config, parent lane, and node ID, returning the new node.
Instructions
Add a node of a given kind to a workflow. The kind is checked against the live registry (call list_node_kinds first — a host may have registered its own). Omitting config applies the kind's schema defaults. Pass parent_id to place the node inside a lane. Returns the created node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Node kind, e.g. "manual_trigger", "llm_call", "branch". | |
| config | No | Optional config. See describe_node_kind for the fields. | |
| node_id | No | Optional explicit node id. Omit to auto-generate. | |
| parent_id | No | Optional lane node id — puts this node inside that lane. | |
| workflow_id | Yes | The workflow id from create_workflow. |