Press key
press_keyPress keys or buttons on iOS and Android devices and simulators, including navigation, volume, letters, and modifier combos, then return the updated screen.
Instructions
Press a key or button: back, home, enter, delete, tab, escape, space, arrow_up/down/left/right, app_switch, volume_up/down, mute, siri, power, lock; a letter or digit, held keys first: command+a (Android: Ctrl). hide_keyboard closes the on-screen keyboard. control_center, notification_center, spotlight open those; home closes them. Words: type_text. Returns the screen after.
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": {
"key": "<key>"
},
"name": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| read | No | ||
| count | No |