value_check
Checks whether a candidate parameter value is legal for a specified IP in an STM32CubeMX project by evaluating XML condition expressions, validating configuration choices instead of guessing.
Instructions
Ask CubeMX whether a parameter value is legal for an IP right now (possible_value ip parameters / not_a_possible_value ip parameters) — this evaluates the XML condition expressions (IP dependencies, semaphores, die variants) instead of guessing.
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>",
"ip": "<ip>",
"parameter": "<parameter>",
"value": "<value>"
},
"name": "value_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP/instance name | |
| value | Yes | Candidate value | |
| parameter | Yes | Parameter name | |
| project_id | Yes | Project id |