set_selection
Select specific Figma node IDs and optionally scroll the viewport into view, enabling targeted navigation when working across documents.
Instructions
Select specific node IDs in Figma and optionally zoom viewport into view.
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": "set_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open | |
| nodeIds | Yes | Array of node IDs to select | |
| scrollIntoView | No | Scroll viewport to selection (default true) |