gb_press_button
Press or release a Game Boy button with validated button and action input, leaving frame advancement and timing under caller control.
Instructions
Press or release a Game Boy button.
Validates the button name and action via domain functions. Does NOT
automatically advance a frame — the caller controls timing.
Valid buttons: a, b, start, select, up, down, left, right.
Valid actions: press, release.
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": {
"button": "<button>"
},
"name": "gb_press_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | press | |
| button | Yes |