import_figma
Convert a Figma file's design system into Penpot, including colors, typography, components, and page structure. Preview with dryRun before writing.
Instructions
Import a Figma file's design system into Penpot. Converts colors, typography, components, and page structure. Use dryRun=true first to preview the conversion before writing.
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": {
"figmaFileKey": "<figmaFileKey>",
"figmaToken": "<figmaToken>"
},
"name": "import_figma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, only preview conversion without writing to Penpot | |
| figmaToken | Yes | Figma Personal Access Token | |
| figmaFileKey | Yes | Figma file key (from URL: figma.com/file/<KEY>/...) | |
| penpotFileId | No | Target Penpot file ID (if omitted, returns conversion preview only) |