gb_get_audio_state
Reads Game Boy audio registers and returns parsed channel and master control state, optionally for one channel (1–4), including wave RAM for channel 3.
Instructions
Read audio registers and return parsed state.
Optional channel param (1-4) for a single channel. Without channel, returns all channels plus master control. Channel 3 includes wave RAM (0xFF30-0xFF3F). Returns error if no ROM loaded or invalid channel.
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_audio_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No |