getFigmaStyles
Extract design tokens from Figma by retrieving all color, text, effect, and grid styles.
Instructions
Get all styles: color, text, effect, grid. For extracting design tokens.
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>"
},
"name": "getFigmaStyles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | File key or URL | |
| figmaToken | No | API token (optional) |