read
Decodes typed values or user-defined types from an address into rows, names pointers, and stops at the first unmapped byte.
Instructions
Read typed values (kind) as va value rows, or a user type (type) one row per field, pointers named; stops at the first unmapped byte. Not for raw bytes (use hexdump) or a live process (live_read).
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": {
"address": "<address>"
},
"name": "read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | What to decode the bytes as (default u64). | |
| type | No | A user type instead of kind: `Rec`, `Rec[4]`, `char[16]`. | |
| count | No | Values to read (default 1, max 256). | |
| address | Yes | Address (0x-hex or decimal), a name, or `off:<n>` for a file offset. |