Plecs Protect
plecs_protectLocks a PLECS subsystem to prevent viewing or modification; requires confirm=true and becomes irreversible after saving.
Instructions
Make a subsystem non-viewable/non-modifiable. IRREVERSIBLE once saved; requires confirm=true.
Verified on 5.0.6: the call takes a single subsystem path, returns 0, and is idempotent; it changes the open model only, so the protection becomes permanent when you save it.
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": {
"subsystem_path": "<subsystem_path>"
},
"name": "plecs_protect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| subsystem_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||