Scroll
scrollMove a macOS app's viewport by a page-like amount in a chosen direction, targeting either an accessibility element or a screen coordinate. Returns updated state if requested.
Instructions
Scroll at a bound element or frame coordinate.
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": {
"target": "<target>",
"scroll_direction": "<scroll_direction>",
"scroll_amount": "<scroll_amount>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| app_ref | No | ||
| strategy | No | Prefer accessibility, require accessibility, or require event dispatch. | auto |
| return_state | No | Optionally observe the target again after the action. | none |
| scroll_amount | Yes | Positive page-like scroll amount. | |
| scroll_direction | Yes | Scroll direction. |