rnw_scroll
Scroll a page or a chosen element up, down, left, or right in React Native Web browser automation, with optional pixel amount and CSS selector.
Instructions
Scroll the page or a specific element
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": {
"direction": "<direction>"
},
"name": "rnw_scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to scroll in pixels (default: 300) | |
| selector | No | Optional: CSS selector of element to scroll within | |
| direction | Yes | Direction to scroll |