press_keys
Press keyboard shortcuts like Ctrl+C or Alt+Tab, with optional targeting of background windows without disrupting focus.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |