scroll
Scroll web pages in Yandex Browser by direction, distance, or to specific elements using CSS selectors for automated browser control.
Instructions
Прокрутить страницу или к элементу
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabIndex | No | Индекс вкладки | |
| direction | No | Направление прокрутки | |
| distance | No | Расстояние в пикселях | |
| selector | No | CSS селектор элемента для прокрутки к нему | |
| smooth | No | Плавная прокрутка (по умолчанию true) |