Plecs Plot
plecs_plotRuns a PLECS simulation or Bode analysis and returns a rendered plot image, choosing PLECS or Matplotlib output for waveform overlays.
Instructions
Run a simulation/analysis and return a PNG.
renderer: auto (default) prefers the PLECS-rendered bitmap; plecs forces
it (error if unavailable); matplotlib always renders locally (needed for overlays).
kind="waveform" runs a short simulation (default TimeSpan 1e-3 s);
kind="bode" requires analysis_name (the analysis Name property).
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_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | waveform | |
| inline | No | ||
| options | No | ||
| save_to | No | ||
| renderer | No | auto | |
| overwrite | No | ||
| model_name | Yes | ||
| analysis_name | No | ||
| signal_indices | No |