get_selection
Retrieve detailed information about the current selection in Figma, returning a structured JSON array of objects with type and text fields for precise data access.
Instructions
Get information about the current selection in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the selection info as JSON.
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": "get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||