pull_design_system_rest
Pull design tokens, components, and styles from Figma via REST API without using a plugin or Figma Desktop. Ideal for CI, headless, or remote environments.
Instructions
Pull the design system from Figma via REST API — no plugin or Figma Desktop required.
Prerequisites: FIGMA_TOKEN and FIGMA_FILE_KEY environment variables must be set. No bridge or plugin connection needed.
Returns on success: { tokens: number, components: number, styles: number, lastSync: ISO timestamp }
Error behavior: Throws if FIGMA_TOKEN or FIGMA_FILE_KEY are missing, or if the Figma API returns an error (403 = bad token, 404 = bad file key).
Use this tool: when the Figma plugin is not available (CI, headless, remote), or when you want to pull tokens without starting the bridge. Equivalent to memi pull --rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||