apply_program_patch
Apply a batch of ladder logic program edits atomically; if any edit fails, revert all changes.
Instructions
Apply multiple program-only edits atomically; any failing operation rolls the entire patch back.
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": {
"project_id": "<project_id>",
"operations": "<operations>"
},
"name": "apply_program_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operations | Yes | ||
| project_id | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||