Decode an ESP-IDF panic
decode_esp_panicReads the text an ESP32-family chip prints when ESP-IDF panics and returns the cause, what it means, what to check and the addresses to resolve. Use it when the serial output shows a Guru Meditation Error, an abort(), a task watchdog or interrupt watchdog timeout, a stack overflow or a brown-out. It handles the Xtensa chips and the RISC-V chips. It does not turn addresses into source lines: that needs the ELF file.
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": {
"log": "<log>"
},
"name": "decode_esp_panic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes | The serial output around the failure, as printed. Include the register dump and the backtrace where the output has them. |