figma_get_design_context
Retrieve a node's or file's design context—structure, text, layout, typography—with configurable depth and verbosity. Default settings ensure safe, summary-level output; increase parameters for richer data.
Instructions
Design context for a node or whole file: structure + text, layout/visual/typography. Defaults to depth=1, verbosity='summary' for context safety. Pass depth/verbosity explicitly for deeper data. Cached 60s per session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Bypass cache and include _responseGuard/_metrics fields. | |
| depth | No | ||
| nodeId | No | ||
| fileKey | No | Target a specific connected file. | |
| figmaUrl | No | Figma or FigJam file URL; fileKey and optional node-id are extracted for routing. | |
| verbosity | No | summary | |
| outputHint | No | ||
| includeLayout | No | ||
| includeVisual | No | ||
| includeCodeReady | No | ||
| excludeScreenshot | No | Reserved for future use; plugin currently does not embed screenshots in design_context. | |
| includeTypography | No |