gc_controller_get_state
Reads the current state of a GameCube controller port for a given emulator instance and port, so you can inspect controller inputs.
Instructions
Return the current state of a GameCube controller port.
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>"
},
"name": "gc_controller_get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| instance_id | Yes |