Read memory
memory_readRead raw bytes from STM32 memory at an address or symbol expression (e.g., '&my_global') to inspect values and debug firmware.
Instructions
Reads raw bytes from target memory at an address or symbol-address expression (e.g. '&my_global').
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": {
"sessionId": "<sessionId>",
"address": "<address>",
"length": "<length>"
},
"name": "memory_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | ||
| address | Yes | Hex address (0x...) or a gdb expression evaluating to an address, e.g. '&my_global' | |
| sessionId | Yes |