get_selection
Retrieve the currently selected nodes in Figma, including names, types, and IDs. Use this to identify which elements to modify.
Instructions
Get the user's currently selected nodes in Figma.
Returns node names, types, and IDs of selected elements. Call this when the user's intent involves modifying existing elements:
"change this button", "update the card", "fix the spacing"
References to "this", "the selected", "it"
Skip for fresh design requests ("design a login page", "create a dashboard") — a new canvas has no selection to read, so the call returns nothing and burns an iteration.
Examples: get_selection()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||