qt_keyboard_input
Send keyboard input as typed text to a Qt UI element, triggering real app behavior and overwriting existing content. Requires element focus; use qt_focus first if needed.
Instructions
Send keyboard input (typed text) to a UI element.
Real input: the text lands in whatever the target would receive — it can overwrite existing text and trigger real app behaviour. If element_id is 0 or does not resolve, the input goes to the widget that currently has focus (be careful: a stale id silently redirects the text). Widgets that rely on focus (QLineEdit etc.) may ignore input to an unfocused element — call qt_focus first when text does not land. Use qt_key_combo for shortcuts like Enter or Ctrl+C.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| modifiers | No | ||
| element_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |