figma_get_selection
Retrieve dimensions, coordinates, text, fills, and layout context for nodes currently selected on the Figma canvas, so an agent can inspect a user's selection before editing.
Instructions
Get information and properties (dimensions, coordinates, text, fills, parent, page, AutoLayout context) of the currently selected nodes on the Figma canvas.
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 |
|---|---|---|---|
| target | No | fileName of a specific connected Figma document, when more than one is open (see figma_list_targets). |