get_components
List local Figma components and component sets with keys and variant properties so you can inspect available building blocks; optionally filter by file or page.
Instructions
List local components and component sets (with keys and variant properties).
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_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| pageId | No | Limit to one page; default all pages (slower) |