scroll_to_element
Scrolls automatically to locate and display specific UI elements on Android devices using criteria like resource ID, text, or content description.
Instructions
Scroll down repeatedly until an element matching the given criteria is visible
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": {
"by": "<by>",
"value": "<value>"
},
"name": "scroll_to_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | How to find the element | |
| value | Yes | Value to match | |
| max_scrolls | No | Maximum scroll attempts (default 10) | |
| device_id | No | Device ID (optional if only one device) |