scroll
Brings an element into view or moves the page or element using mouse wheel deltas in an Electron app.
Instructions
Scroll the page or an element. With a selector and no deltas, scrolls that element into view. With deltaY/deltaX, sends a mouse wheel at the element (or the viewport).
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 |
|---|---|---|---|
| deltaX | No | Horizontal wheel delta. Positive scrolls right. | |
| deltaY | No | Vertical wheel delta. Positive scrolls down. Default 400 when no selector. | |
| selector | No | Element to scroll into view, or the wheel target | |
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |