figma_get_selection
Retrieve the current Figma selection's layout, text, fills, and bounded child tree, providing design context for coding tools.
Instructions
Read the current Figma selection, including layout, text, fills, and a bounded child tree.
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 |
|---|---|---|---|
| depth | No | ||
| maxNodes | No | ||
| maxChildren | No |