scroll
Scroll by mouse wheel ticks at the current cursor location or at a specified element. Choose direction (up, down, left, right) and tick count.
Instructions
Scroll by mouse wheel ticks.
With ``element_id``, moves the cursor to that element's position
first, then scrolls — useful for scrolling inside a specific list,
panel, or container. Without it, scrolls at the current cursor
position.
Args:
direction: One of "up", "down", "left", "right".
amount: Number of scroll ticks (default 3).
element_id: Optional element to scroll at. When given, cursor
is moved to the element's center first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | ||
| amount | No | ||
| element_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |