cli
Execute CubeMX commands verbatim in the project engine and return OK/KO output, with optional save.
Instructions
Run any CubeMX CLI command verbatim in the project engine and return its output (OK/KO plus payload). Covers the entire command language: get/set/reset/lock/check/csv/generate/project/config/pinout/switch/unset/export/import/NVIC/dma/pack/swmgr/clock/... Optionally save afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Persist the .ioc after the command | |
| command | Yes | Exact CLI line, e.g. `get mapped modes .*` | |
| timeout | No | Seconds | |
| project_id | Yes | Project id | |
| allow_unsafe | No | Permit commands outside the safe list |