qt_key_combo
Send real keyboard shortcuts to a target widget in a running Qt application, triggering native actions like copy, close, or save by simulating key press and release events.
Instructions
Send a keyboard shortcut to an element, e.g. "Ctrl+C", "Ctrl+Shift+A".
Format: modifier names ("Ctrl", "Alt", "Shift", "Meta") joined with '+' followed by the key name ("C", "F5", "Enter", "Tab", "Escape", "Home", arrows, ...). element_id 0 targets the widget that currently has focus. Delivered as a real key press/release pair with the modifier state set — shortcuts can trigger real app actions (close window, save, submit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| element_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |