Add Node
clipform_add_nodeAdd a new node to an existing form. Inserted before the end screen by default; after_node_id controls insertion position. Inserting into a linear flow automatically re-links the chain (the node before the insertion point points to the new node, which points to what followed) - you do not need clipform_set_logic for a simple insert. For a second ending that only some answers reach (an end screen or redirect), pass unlinked: true and then route to it with clipform_set_logic. Node types and config schemas match clipform_create_form.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"form_id": "<form_id>",
"node": "<node>",
"context": "<context>"
},
"name": "clipform_add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | The node to add | |
| context | Yes | Describe the user's underlying goal in one sentence - not the tool you're calling. | |
| form_id | Yes | The form UUID (returned by clipform_create_form, not the short share_id from the URL) | |
| unlinked | No | Create an ending (end_screen or redirect) outside the flow, so nothing routes to it until you point an answer at it with clipform_set_logic. Only for ending types: a question added this way would sit outside the flow. | |
| after_node_id | No | Insert after this node ID. Omit to append before the end screen. Not used with unlinked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Node type that was added | |
| node_id | Yes | ID of the created node - pass to update_node / attach_node_media |