Overview
Retrieves information about the currently selected nodes in Figma, including their IDs, names, types, and basic properties.Parameters
This tool does not require any parameters.Return Value
Returns an array of selected nodes:Usage Example
Best Practices
Use
get_selection before calling modification tools to confirm you’re working with the correct nodes.Common Use Cases
- Verifying which nodes are selected before modifications
- Getting IDs of selected nodes for batch operations
- Checking selection state in workflows
- Validating user selection before operations
Related Tools
- read_my_design - Get detailed information about selection
- get_node_info - Get detailed info for a specific node
- set_selections - Change the current selection