Get published component
get_componentRetrieves metadata for a published Figma component using its library key, enabling access to component details from Figma libraries.
Instructions
GET /v1/components/{key} — metadata for a published component key (library key, not a file key). Scope: library_assets:read.
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": {
"key": "<key>"
},
"name": "get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Published component key from library metadata. |