Plecs Set Cosim Server Enabled
plecs_set_cosim_server_enabledEnable or disable the PLECS FMU Co-Simulation endpoint to control whether external FMU co-simulation connections are accepted, applying the setting globally.
Instructions
Enable/disable the PLECS FMU Co-Simulation endpoint (global PLECS state).
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": {
"enabled": "<enabled>"
},
"name": "plecs_set_cosim_server_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||