locate_target
Locate UI targets in screenshots as a visual fallback when DOM or accessibility references are unavailable.
Instructions
Visual fallback only. First inspect Playwright DOM/accessibility. Claude and Antigravity share one queued model.
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": {
"image_path": "<image_path>",
"target": "<target>"
},
"name": "locate_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| image_path | Yes | ||
| delete_after_read | No | ||
| viewport_css_width | No | ||
| viewport_css_height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||