plc_update_ld
Stage native Ladder rung changes and register newly introduced known global dependencies as VAR_EXTERNAL while preserving unknown fields in the original rungs.
Instructions
Stage native Ladder rung objects and register newly introduced known global dependencies as VAR_EXTERNAL. Read original rungs first and preserve unknown fields.
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": {
"transaction_id": "<transaction_id>",
"section_id": "<section_id>",
"rungs": "<rungs>",
"expected_revision": "<expected_revision>"
},
"name": "plc_update_ld"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rungs | Yes | ||
| section_id | Yes | ||
| transaction_id | Yes | ||
| expected_revision | Yes | Project revision read before staging this change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||