scroll
Move an element or the selected Typora page by a pixel delta to reposition visible content.
Instructions
Scroll an element or the selected Typora page by a pixel delta.
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": {
"deltaY": "<deltaY>"
},
"name": "scroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| deltaX | No | ||
| deltaY | Yes | ||
| selector | No | ||
| targetId | No | Renderer targetId from typora_status; required when no single window is focused | |
| snapshotId | No |