key_combo
Simulate keyboard shortcuts like cmd+c or shift+tab to automate macOS desktop actions, with optional background delivery to the captured window's native process.
Instructions
Simulate a key combination (e.g., "cmd+c", "shift+tab").
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": "key_combo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| background | No | Deliver in the background to the captured window's process (native apps only). Default false = foreground. |