Type text
typeSends text input to the focused or specified window via XTest on X11/Xwayland or wtype on Wayland, preventing garbled text by keeping input paths separate.
Instructions
Types text into the focused (or given) window. X11/Xwayland targets use XTest, Wayland targets use wtype. Do not mix the two paths in one session: keymap uploads can garble XTest text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| text | Yes | ||
| window_id | No | Focus this window first |