pet_mem_read
Read memory from a Commodore PET emulator session. Provide an address (hex, decimal, or symbol) to retrieve hex-encoded bytes and a decimal integer array.
Instructions
Read emulated memory. addr accepts $hex, 0xhex, decimal, or a symbol from the loaded label file. Returns hex-encoded bytes plus "bytes" as a decimal int array.
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": {
"addr": "<addr>"
},
"name": "pet_mem_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | ||
| length | No | ||
| session | No |