Scroll
scrollMoves the mouse wheel up, down, left, or right by a set pixel amount, optionally over a target element, to navigate page content.
Instructions
Turns the mouse wheel like a person, over an element when one is given (the pointer moves there first), else where the pointer is.
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": {
"direction": "<direction>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | An element id from a listing, such as a12. | |
| pace | No | read (default) or flick for a long jump. | |
| amount | No | CSS pixels (default 400). | |
| direction | Yes |