ioc_compare
Compare two STM32CubeMX .ioc project files with CubeMX's differ and return the generated comparison report text.
Instructions
Compare two .ioc files with CubeMX's own differ (cpload project1/2 + cpexport) and return the report text.
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>",
"ioc_1": "<ioc_1>"
},
"name": "ioc_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ioc_1 | Yes | First .ioc (absolute or project-relative) | |
| ioc_2 | No | Second .ioc to compare against (optional) | |
| output | No | Report file name (default compare.txt) | |
| label_2 | No | Display name for the second project | |
| timeout | No | Seconds to wait | |
| open_view | No | Also open the compare view | |
| project_id | Yes | Project id |