getFigmaSpecs
Extract colors, fonts, dimensions, and spacing from Figma frames and components by providing the file key and node ID.
Instructions
Extract design specs from Figma: colors, fonts, dimensions, spacing.
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": "getFigmaSpecs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Frame/component ID | |
| fileKey | Yes | File key | |
| figmaToken | No | API token (optional) |