press_key
Simulate keyboard input for shortcuts, navigation keys, or special combinations when standard input methods are insufficient.
Instructions
Press a key or key combination. Use this when other input methods like fill() cannot be used (e.g., keyboard shortcuts, navigation keys, or special key combinations).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A key or a combination (e.g., "Enter", "Control+A", "Control++", "Control+Shift+R"). Modifiers: Control, Shift, Alt, Meta | |
| includeSnapshot | No | Whether to include a snapshot in the response. Default is false. |