figma_set_selection
Select Figma nodes and scroll them into view so users can immediately see the result—without hunting across a large canvas. Changes editor state only, not the document.
Instructions
Select nodes in the Figma editor and scroll them into view. The only way to move the user's cursor — use it to hand work over ('look at what I just built') instead of making them hunt for it on a huge canvas. Editor state only; the document is not modified.
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": "figma_set_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | Scroll and zoom the viewport to the selection | |
| fileKey | No | Which connected Figma file to use: its fileKey (figma_whoami) or, when omitted, the only connected file. Required once more than one file is connected; figma_ping lists them. | |
| nodeIds | Yes | Node ids to select |