tool_skyshot
Read a window's accessibility tree as compact text. Each element line is '{index} {indent}{role} {name}{Value: ...}{(state)}'.
Instructions
Read a window's accessibility tree as compact text. Each element line is '{index} {indent}{role} {name}{Value: ...}{(state)}'. After the first shot, the result is a diff by default: '~' shows changed or renumbered elements, '+' shows additions, and removed indices refer to the previous shot. Unchanged lines are omitted. For tool_element_action_at, pass the returned hwnd and shot_id plus an index printed on an element line in this response. Taking another shot of the same window invalidates that pair. Pass disable_diff=true to see the full tree and act on an omitted element. The shot_key identifies the window, while shot_id identifies this observation. Pass include_offscreen=true to include scrolled-out or hidden elements. A minimized window may expose only part of its tree; restore the window and read again if needed. Element values can contain window content. Read-only: no input injection or focus change.
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": "tool_skyshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | ||
| title | No | ||
| max_depth | No | ||
| max_nodes | No | ||
| disable_diff | No | ||
| include_values | No | ||
| include_offscreen | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||