figma_get_component
Retrieve detailed info about a Figma component, including properties, variants, and styling. Use it to inspect component details directly from a file.
Instructions
Get detailed information about a specific component in a Figma file, including its properties, variants, and styling.
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": {
"fileKey": "<fileKey>",
"nodeId": "<nodeId>"
},
"name": "figma_get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The node ID of the component | |
| fileKey | Yes | The Figma file key |