figma_export_tokens
Export extracted Figma design tokens as Tailwind config, CSS variables, JSON, or Style Dictionary output for use in your codebase.
Instructions
Export extracted design tokens as Tailwind config, CSS variables, or JSON
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_export_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format for tokens | tailwind |
| nodeId | No | Root node ID to export tokens from. Auto-extracted from figmaUrl if provided. | |
| figmaUrl | No | Figma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session. |