set_selection
Selects specific Figma nodes by ID so you can target exact elements for editing, inspection, or export.
Instructions
Set the current selection in Figma to specific nodes
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 | Array of node IDs to select |