Focus a window and type into it (verified)
window_typeSend text to a target window by matching title or address, focus it, then optionally press Enter to submit.
Instructions
One-shot text input to ANY window: resolve target (match/address), focus it with measured verification, then type via wtype. Defaults to the currently focused window if no target given. submit=true presses Return afterwards. Example: window_type(match="opencode", text="hi", submit=true) — talk to another agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | text to type; \n becomes Return | |
| match | No | class or title substring to find the target window | |
| submit | No | press Return after typing | |
| address | No | exact Hyprland address like 0x5630... (wins over match) |