Delete Journey Nodes (Batch)
deleteJourneyNodesBatch delete orphaned node instances that remain after journey updates, ensuring cleanup of removed nodes.
Instructions
Batch delete orphaned node instances. Use this to clean up nodes that were removed from a journey during an update (via updateJourney) but still exist in AM. Note: Deleting an entire journey automatically cleans up its nodes, so this tool is only needed after journey updates that remove nodes.
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": {
"realm": "<realm>",
"nodes": "<nodes>"
},
"name": "deleteJourneyNodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | Array of nodes to delete | |
| realm | Yes | The realm containing the nodes |