scroll_to
Scrolls a device UI until an element matching specified text becomes visible, enabling agents to locate off-screen controls and content.
Instructions
Scroll until an element matching the given text becomes 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": {
"text": "<text>"
},
"name": "scroll_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Case-insensitive substring matched against an element's label, value, or accessibility id. | |
| direction | No | Scroll direction in scrollbar semantics (up, down, left, right). Omit to auto-detect; required for horizontal searches. | |
| session_id | No | Session ID to target. Optional: falls back to the MCP-server-held dev_start session, then this project's `vibeview dev --detach` state, if either is available. | |
| max_scrolls | No | Max swipe attempts before giving up (default: 8). | |
| element_type | No | iOS-only element type filter (Button, StaticText, TextField, SecureTextField, Cell, Image, Link, Switch, TextView, SearchField). Ignored on Android. |