getFigmaColorPalette
Extract a color palette from a Figma file, returning unique colors with hex, rgba, and usage counts for design analysis.
Instructions
Extract color palette. Returns unique colors with hex, rgba, usage count.
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": "getFigmaColorPalette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | File key or URL | |
| figmaToken | No | API token (optional) |