gb_get_bank_info
Reads Game Boy cartridge header data to report MBC type, total ROM bank count, and current ROM bank, and returns an error if no ROM is loaded.
Instructions
Return MBC type, total bank count, and current ROM bank.
Reads cartridge type (0x0147) and ROM size (0x0148) from the header,
delegates to domain/bank_info for interpretation.
Returns error if no ROM loaded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gb_get_bank_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||