Press keys
press_keysSends keyboard keys or shortcuts to an app, can run multiple key combinations in order, and optionally returns a screenshot to verify the result.
Instructions
Press a key or shortcut (not for browser navigation: use browser_open/browser_navigate), e.g. "enter", "cmd+s", "cmd+shift+p", "tab", "esc", "down". Several separated by spaces run in order: "cmd+a delete".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | App to send the keys to (brought to the front first); default: the app you last worked in | |
| keys | Yes | ||
| look_after | No | Return a fresh screenshot of the front window after the action, to check the result |