get_viewport
Retrieve the current Figma page viewport to get the on-screen center point, zoom level (1.0 = 100%), and visible bounds rect.
Instructions
Return the current page viewport as { center, zoom, bounds } — the on-screen center point, zoom level (1.0 = 100%), and visible bounds rect.
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": "get_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||