debug_read_memory
Inspect process memory during a live debugging session by specifying an address and byte count, returned as raw hex or a formatted hexdump.
Instructions
Read memory from the debugged process at a specific address, returned as hex string or formatted hexdump.
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": {
"session_id": "<session_id>",
"address": "<address>"
},
"name": "debug_read_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of bytes to read (default 64) | |
| format | No | Output format: "hex" for raw hex, "hexdump" for formatted dump | hexdump |
| address | Yes | Hex address to read from (e.g. "0x08048000") | |
| session_id | Yes | Debug session ID |