desktop_hotkey
Presses single keys or key combinations (e.g., Return, Ctrl+C) on a specified window or the desktop to automate keyboard input and trigger shortcuts.
Instructions
Press a single key (e.g. ['return']) or key combination (e.g. ['ctrl','c']).
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": "desktop_hotkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| keys | Yes | ||
| scope | No | ||
| window_id | No | ||
| delivery_mode | No | ||
| element_token | No |