mode_check
Checks whether a specified peripheral mode is enabled for a project in STM32CubeMX, helping verify configuration before making changes.
Instructions
Ask CubeMX whether a mode is currently enabled (check mode 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>",
"peripheral": "<peripheral>",
"mode": "<mode>"
},
"name": "mode_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Mode name | |
| peripheral | Yes | IP instance | |
| project_id | Yes | Project id |