get_components
Retrieve all components from a Figma file using its file key.
Instructions
Get components available in a Figma file
Args:
file_key (str): The file key found in the shared Figma URL
Returns:
list[dict]: List of components found in the Figma file
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_key": "<file_key>"
},
"name": "get_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_key | Yes |