scroll
Scroll a widget or main window vertically and horizontally by specifying delta values. Set dy positive to scroll down, negative to scroll up; omit widget_id to target the main window.
Instructions
Scroll a widget. dy > 0 scrolls down, dy < 0 scrolls up. dx: horizontal scroll (positive = right). widget_id: target widget; omit to scroll the main window.
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": {
"dy": "<dy>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | ||
| dy | Yes | ||
| pid | No | App pid from launch_app. Omit to target the last launched app. Required only when several apps are running and you need a specific one. | |
| widget_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |