snapshot
Describes every visible window as an indented outline of components with refs, so you can locate elements and target them with click, type_text, select_option or screenshot.
Instructions
Describe what is on screen: every visible window as an indented outline of components (role, label, value, state) with a [ref=eN] for each element. Use refs with click, type_text, select_option and screenshot. Refs stay valid while the component exists. field= is the Java field holding the component, class= an application class. Prefer this over screenshot; use screenshot for custom-painted parts and layout.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Ref of a single window to describe | |
| maxRows | No | Rows/items listed per table or list (default 10; trees twice that). read_items reads the rest | |
| expandMenus | No | Also list items of closed menus |