press_keys
Send keyboard shortcuts like cmd+s or cmd+w to a macOS app when no dedicated tool exists; optionally bring the target app to the front first.
Instructions
Send a keyboard shortcut to an app — for actions with no dedicated tool.
Args:
combo: Keys joined by "+", e.g. "cmd+s", "cmd+shift+t", "cmd+w", "escape", "left".
app: App to bring to the front first, e.g. "Google Chrome". Recommended.
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": {
"combo": "<combo>"
},
"name": "press_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| combo | Yes |