Press key
press_keySends a key combination to a specified app to trigger shortcuts or commands, such as ctrl+a to select all.
Instructions
Send a key combination to the app, e.g. "ctrl+a" (macOS "super+a" is accepted and mapped).
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 |