delete_node
Permanently delete a node from a Cognigy.AI flow. Use dry run to validate the operation before irreversible deletion.
Instructions
Deletes a node from a Cognigy.AI flow. MUTATING & DESTRUCTIVE: This permanently removes the node. Use dryRun=true (default) to validate first. Child nodes may also be affected.
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": {
"flowId": "<flowId>",
"nodeId": "<nodeId>"
},
"name": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates the operation without deleting. Set to false to actually delete. WARNING: Deletion cannot be undone via API. | |
| flowId | Yes | The flow ID containing the node to delete | |
| nodeId | Yes | The ID of the node to delete |