List the interrupts of a part
list_interruptsReturns the interrupt numbers and names of a microcontroller and, where the data has the vendor's device header, the handler names of the startup file. Use it to find the interrupt number for a call that enables or prioritises it, the exact handler name to define, or which peripherals share a vector. Handler names come from device headers, which the data has for ST parts. For other parts the list comes from the file that the registers come from, without handler names.
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": {
"device": "<device>"
},
"name": "list_interrupts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The part, for example STM32F103C8T6, STM32G431KB, nrf52840 or rp2040. | |
| filter | No | Only interrupts whose name or description holds this text, for example USART or DMA. Omit for all. |