get_design_context
Extract brand context from Penpot files to understand design tokens, components, and layout constraints before generating UI.
Instructions
Extract compressed brand context from a Penpot file. Returns design tokens, components, pages, and layout constraints in a token-efficient format. Use this FIRST to understand the design system before generating any UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Penpot file ID to extract brand context from | |
| format | No | Output format: 'compact' for LLM-optimized text, 'json' for structured data | compact |