Plecs Close
plecs_closeCloses a PLECS model without saving, refusing if this MCP session edited it; pass force=true to discard session changes.
Instructions
Close a model WITHOUT saving. Refuses when this session changed it via plecs_set.
PLECS exposes no "dirty" flag, so the guard only knows about edits made through this
MCP session; pass force=true to discard them.
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": {
"model_name": "<model_name>"
},
"name": "plecs_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| model_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||