simplify_context
Condense Figma frames into token-efficient representations for LLM context windows by stripping noise, collapsing wrappers, and truncating deep hierarchies.
Instructions
Produces an AI-optimized, token-efficient representation of a Figma frame. Strips noise, collapses wrappers, groups repeated elements, and truncates deep hierarchies. Designed to fit within LLM context windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The frame node ID to simplify | |
| file_key | Yes | The Figma file key (from the file URL) | |
| framework | No | ||
| max_tokens | No | ||
| access_token | Yes | Your Figma personal access token |