get_window_state
Capture a window's screenshot and accessibility tree to get its current state for reliable input actions.
Instructions
Capture screenshot and/or accessibility tree of a window. Call this before input actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | Window object | |
| include_text | No | Capture accessibility tree (default: false) | |
| include_screenshot | No | Capture screenshot (default: true) |