gb_lookup_cart_code
Decode Game Boy cartridge header codes to identify type, ROM/RAM sizes, destination, licensee, and CGB flag. Search by code or name, or list the tables.
Instructions
Decode a cartridge-header code, list a whole table, or search it by name.
Covers cartridge type ($13 -> MBC3+RAM+BATTERY), ROM and RAM sizes, destination, both licensee tables, and the CGB flag.
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": {
"kind": "<kind>"
},
"name": "gb_lookup_cart_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The code to decode, e.g. '$13'. Omit to list the table. | |
| kind | Yes | type, rom_size, ram_size, destination, old_licensee, new_licensee, cgb_flag. | |
| name | No | Reverse lookup: find codes whose meaning contains this. |