computer_hotkey
Execute keyboard shortcuts on macOS by sending key combinations like Cmd+C or Alt+Tab to trigger actions in applications or the system.
Instructions
Press a key combination (hotkey).
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": {
"keys": "<keys>"
},
"name": "computer_hotkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | List of keys to press together (e.g., ['ctrl', 'c'] for copy, ['cmd', 'v'] for paste on Mac, ['alt', 'tab'] for window switch) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||