replace_rung
Replace an existing ladder rung using CX-Programmer mnemonic instructions. A revision guard prevents overwriting changes made since your last read.
Instructions
Replace one rung using CX-Programmer mnemonic lines. Revision guard prevents stale edits.
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>",
"program_name": "<program_name>",
"section_name": "<section_name>",
"rung_index": "<rung_index>",
"instructions": "<instructions>"
},
"name": "replace_rung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| project_id | Yes | ||
| rung_index | Yes | ||
| instructions | Yes | ||
| program_name | Yes | ||
| section_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||