figma_focus
Select up to 50 Figma nodes in a target document and zoom the viewport to them. Optionally choose a page first to inspect or edit the intended layers.
Instructions
Select nodes and zoom the Figma viewport to them.
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": {
"targetDocumentId": "<targetDocumentId>",
"nodeIds": "<nodeIds>"
},
"name": "figma_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page ID to select before running. | |
| nodeIds | Yes | ||
| targetDocumentId | Yes | documentId returned by figma_document; protects against editing a different file. |