dma_mutate
Modify DMA assignments in an STM32CubeMX project by adding or deleting requests, setting a request's flow, or updating one DMA parameter such as priority or mode.
Instructions
Change DMA assignment: add/delete a request, set its flow, or set one DMA parameter (Priority/Mode/... exactly as CubeMX names them).
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>",
"kind": "<kind>",
"request": "<request>"
},
"name": "dma_mutate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | Flow name for set_flow / optional for set_param | |
| kind | Yes | Operation | |
| save | No | Save the project afterwards | |
| param | No | Parameter name for set_param | |
| value | No | Parameter value for set_param | |
| request | Yes | DMA request name (e.g. USART2_TX) | |
| project_id | Yes | Project id |