activate_window
Brings any window to the foreground by its ID, enabling direct keyboard input and actions without prior element interaction.
Instructions
Bring a window to the foreground.
Element-scoped actions (click, set_value, select_text, etc.) bring
their window to focus automatically — you rarely need this. Use it
when you need to type_text or press_key in a window without first
clicking an element in it (e.g. sending a keyboard shortcut to a
window you haven't interacted with yet in this task).
Args:
window_id: The window ID to activate (from windows()).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |