Browser Task Click By Coordinates
alterlab_task_vision_actVision fallback: click the point (x, y in CSS pixels from the viewport origin) you picked from alterlab_task_vision_capture, then verify the result. Pass expect.text for text that should appear, or leave it to check that the page changed. The click is treated as a submit and asks for approval, unless your previous vision click was observed to be plain navigation. Each use is audited, flags the recipe for repair and counts toward a per-run cap, and past the cap it asks again. The result reports the class the click turned out to be. On awaiting_user show the pending request, call alterlab_task_answer, then retry unchanged.
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": {
"task_id": "<task_id>",
"x": "<x>",
"y": "<y>"
},
"name": "alterlab_task_vision_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Horizontal target in CSS pixels from the viewport origin | |
| y | Yes | Vertical target in CSS pixels from the viewport origin | |
| expect | No | Read-back check: {"text": "text shown after the click"} or {"changed": true}. Default {"changed": true} | |
| recipe | No | Recipe the click belongs to, for standing permissions | |
| task_id | Yes | Task id from alterlab_task_start | |
| selector | No | Region the point must fall inside; same value passed to capture |