figma_get_selection
Retrieve the list of selected nodes in the active Figma file, optionally including child nodes up to a specified depth.
Instructions
Get the list of currently selected nodes in the active Figma file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Max depth for children (default: 3) | |
| includeChildren | No | Include children recursively |