Get file component sets
get_file_component_setsRetrieve published component sets from a Figma file library by providing the file key or URL.
Instructions
GET /v1/files/{key}/component_sets — published component sets in a file library.
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": "<file>"
},
"name": "get_file_component_sets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Figma file key or URL (figma.com/design/... or figma.com/file/...) |