plc_delete_variable
Stages removal of a single PLC variable only after safety checks, rejecting read-only, I/O-bound, referenced, incomplete-source, or externally aliased declarations.
Instructions
Stage removal of one variable only when its observed declarations and source are safe. Refuses read-only or I/O-bound variables, observed code/declaration references, incomplete source, and global declarations with VAR_EXTERNAL aliases. External consumers are not acquired; no Sysmac build is implied.
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>",
"variable_id": "<variable_id>",
"expected_revision": "<expected_revision>"
},
"name": "plc_delete_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable_id | Yes | ||
| transaction_id | Yes | ||
| expected_revision | Yes | Project revision read before staging this change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||