delete_rung
Delete a rung from a CX-Programmer ladder logic project and automatically repair rung indexes and counts to keep the program consistent.
Instructions
Delete one rung and repair CX-Programmer rung indexes/counts.
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>"
},
"name": "delete_rung"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| rung_index | Yes | ||
| program_name | Yes | ||
| section_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||