set_selection
Select specific Figma nodes by their IDs and automatically scroll or zoom the viewport to bring them into focus.
Instructions
Select nodes and optionally scroll 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": {
"nodeIds": "<nodeIds>"
},
"name": "set_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | Node IDs to select | |
| zoomToFit | No | Scroll and zoom to show selection (default: true) |