Scroll To
scroll_toScroll a mobile screen by dragging between two points, or until an element containing specified text is visible, then return its mark.
Instructions
Two modes. With x1, y1, x2, y2: drag the content from one point to the other (precise scroll). With text: scroll in direction until an element containing text is visible and return its mark.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scroll_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| text | No | ||
| device | No | ||
| direction | No | down | |
| duration_ms | No | ||
| max_scrolls | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||