toggle_overlay
Toggle numbered labels on interactive elements to match get_elements() indices, enabling visual debugging and vision model screenshot analysis.
Instructions
Toggle the numbered element overlay on the device screen. When on, interactive elements get visible numbered labels that match get_elements() indices. Useful for visual debugging or when sending screenshots to a vision 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": {
"device": "<device>"
},
"name": "toggle_overlay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| visible | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |