gc_controller_press_once
Send a single GameCube button press by pressing, holding for a configurable duration, and releasing automatically, so agents avoid pairing separate press and release calls.
Instructions
Tap a button once: press, hold for hold_duration ms, then release.
This is the recommended way to send a button press for agent use. It is a single atomic action — you do not need to pair gc_controller_press and gc_controller_release. The button is always released afterwards.
hold_duration defaults to 200 ms. Pass a larger value to hold the button longer (e.g. to hold START through a loading screen).
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": {
"instance_id": "<instance_id>",
"port": "<port>",
"button": "<button>"
},
"name": "gc_controller_press_once"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| button | Yes | ||
| instance_id | Yes | ||
| hold_duration | No |