workflow_add_node
Adds one step (node) to the open draft of a workflow. Required: workflowId, the node type and its position. The change stays in the draft until a version is saved. It does not run the workflow, start the new step or contact any connected app.
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": {
"workflowId": "<workflowId>",
"nodeData": "<nodeData>"
},
"name": "workflow_add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeData | Yes | JSON string of the node data including type, name, inputs, outputs, parameters, position, etc. | |
| workflowId | Yes | The workflow ID | |
| versionLabel | No | Optional label for this version (e.g. "Added PDF reader node"). If omitted, defaults to "Version N". |