scroll_into_view
Scroll the viewport to bring Figma nodes into view without changing the selection. It fits the nodes or centers them at a set zoom level, switching pages when needed.
Instructions
Scroll the viewport to show nodes without changing the selection (switches page if needed). Without zoom it fits the nodes; with zoom (1 = 100%) it centers on them at that zoom level.
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": {
"nodeIds": "<nodeIds>"
},
"name": "scroll_into_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| zoom | No | ||
| nodeIds | Yes |