press_button
Presses a device button (home, back, enter, or delete) to control an iOS simulator or Android emulator while testing React Native apps.
Instructions
Press a device button (home, back, enter, delete)
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_button"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes | Button to press |