tool_element_action_at
Perform press, set_value, select, toggle, expand, collapse, scroll, or focus on an element by index from last UI snapshot without raising the window. Refresh after UI changes; stale index refused.
Instructions
Act on the element that line index of the last skyshot named. This is the focus-free path for elements element_at_point cannot reach: the tree names the element, so the action goes to it and the window is never raised. MUTATING (soft): serialized across agent sessions; no physical input injected. action is one of press, set_value, select, toggle, expand, collapse, scroll_into_view, focus; set_value also needs text. Take a fresh skyshot if the UI has changed — a stale index is refused rather than acted on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes | ||
| text | No | ||
| index | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||