mode_list
Lists peripheral modes for an STM32CubeMX project, letting you inspect available MCU capabilities, all leaf modes, or currently mapped modes.
Instructions
Peripheral modes: available (what the MCU can do), all (every leaf mode) or mapped (what is currently enabled).
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": {
"project_id": "<project_id>"
},
"name": "mode_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| which | No | Selection | mapped |
| peripheral | No | Peripheral regex (USART.* , .*) | |
| project_id | Yes | Project id |