tool_element_action_at
Act on an element printed by the latest skyshot of a window. Pass hwnd, shot_id and the element's printed index from the same tool_skyshot response. A missing or stale shot_id or an index omitted from the response is refused before acting.
Instructions
Act on an element printed by the latest skyshot of a window. Pass hwnd, shot_id and the element's printed index from the same tool_skyshot response. A missing or stale shot_id or an index omitted from the response is refused before acting. If refused, take a fresh full shot with disable_diff=true and use its shot_id and index. MUTATING (soft): serialized across agent sessions; no physical input injected. Actions: press, set_value, select, toggle, expand, collapse, scroll_into_view, focus. set_value also needs text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hwnd": "<hwnd>",
"index": "<index>",
"action": "<action>"
},
"name": "tool_element_action_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes | ||
| text | No | ||
| index | Yes | ||
| action | Yes | ||
| shot_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||