scrollHorizontal
Scroll any webpage element horizontally by pixels or to the end, targeting tables, carousels, and scrollable containers for precise navigation.
Instructions
Scroll element horizontally by pixels or to end. For tables, carousels, scrollable containers.
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": {
"selector": "<selector>",
"direction": "<direction>",
"amount": "<amount>"
},
"name": "scrollHorizontal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Pixels to scroll or 'full' for end | |
| behavior | No | Scroll behavior (default: auto) | |
| selector | Yes | CSS selector for element to scroll | |
| direction | Yes | Scroll direction |