press_keys
Trigger keyboard shortcuts (e.g., Ctrl+C, Alt+Tab) on targeted windows, even in background, to automate GUI interactions.
Instructions
Press a keyboard combination (hotkey), e.g. Ctrl+C or Alt+Tab.
A single-element list presses one key; multiple elements are pressed together.
Args: params (HotkeyInput): list of pyautogui key names.
Returns: str: JSON confirming the keys pressed.
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": {
"params": "<params>"
},
"name": "press_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |