press
Simulate a DualSense button press for AI-driven game and app control, with a configurable hold duration that keeps the button down as long as needed.
Instructions
Press a DualSense button: cross, circle, square, triangle, dpad_up/down/left/right, l1, r1, l2, r2, l3, r3, options, share, touchpad, ps. hold_ms is how long the button stays down.
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": "press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes | ||
| hold_ms | No |