read_bytes
Read raw bytes from a specific address in a binary to inspect data as a hex string or formatted hexdump.
Instructions
Read raw bytes from a specific address in the binary, 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": {
"binary_path": "<binary_path>",
"address": "<address>"
},
"name": "read_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of bytes to read | |
| format | No | Output format: "hex" for raw hex string, "hexdump" for formatted hexdump | hex |
| address | Yes | Hex address (e.g. "0x08048000") | |
| binary_path | Yes | Absolute path to the binary file |