mgba_read_range
Read a contiguous range of memory addresses from Game Boy, GBC, or GBA ROMs using the mGBA emulator for automated testing and game analysis.
Instructions
Read a contiguous range of memory addresses
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": {
"rom_path": "<rom_path>",
"start_address": "<start_address>",
"length": "<length>"
},
"name": "mgba_read_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rom_path | Yes | Path to the ROM file | |
| start_address | Yes | Starting memory address | |
| length | Yes | Number of bytes to read | |
| savestate_path | No | Optional savestate to load | |
| frames | No | Frames to run before reading (default: 60) |