rh_edit_workflow
Apply an atomic batch of typed graph edits to a RunningHub workflow using compare-and-swap, so failed batches create no new revision.
Instructions
Apply an atomic typed graph edit batch using compare-and-swap; failed batches create no revision.
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": {
"workflow_id": "<workflow_id>",
"base_revision_id": "<base_revision_id>",
"reason": "<reason>",
"operations": "<operations>"
},
"name": "rh_edit_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| operations | Yes | ||
| workflow_id | Yes | ||
| base_revision_id | Yes |