highlight
Draws a colored border around a chosen element to verify the correct target before capturing a screenshot.
Instructions
[Agent Browser] Highlight an element with a colored border for visual debugging. Use before screenshot() to confirm you're targeting the correct element. Color can be any CSS color (red, blue, #ff0000, rgb(255,0,0), etc.). Duration in ms.
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": {
"selector": "<selector>"
},
"name": "highlight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | red | |
| selector | Yes | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |