press_key
Press a key or key combination in a specified application to simulate keyboard input, such as Return, Tab, or cmd+l.
Instructions
Press a key or key-combination. Examples: Return, Tab, cmd+l, command+r, shift+cmd+r.
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": {
"app": "<app>",
"key": "<key>"
},
"name": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| key | Yes |