Press Eden Switch Button
eden_press_buttonSend Nintendo Switch button commands to a player through Eden's virtual gamepad. Supports A/B/X/Y, triggers, sticks, D-pad, and system buttons via the control endpoint.
Instructions
Send a Nintendo Switch button directly to a player through Eden's virtual gamepad. Supported buttons are A/B/X/Y, L/R/ZL/ZR, Plus/Minus, D-pad directions, LStick/RStick, SL/SR, Home, and Capture. Requires the Eden control endpoint.
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": "eden_press_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | tap | |
| button | Yes | ||
| player | No | ||
| hold_ms | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||