Plecs Submit
plecs_submitStarts a long-running PLECS task (simulation, analysis, etc.) in the background and returns a task ID, enabling non-blocking execution and progress tracking.
Instructions
Start a long blocking call in the background and return a task id.
Allowed methods: simulate, analyze, codegen, exportfmu, runScript.
For runScript pass [model, {"ScriptName": name}]. PLECS has no cancel API;
use SolverOpts.Timeout to bound the run.
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": {
"method": "<method>"
},
"name": "plecs_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| params | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||