pull_design_system_rest
Retrieve design tokens, components, and styles from Figma using the REST API without plugins. Requires FIGMA_TOKEN and FIGMA_FILE_KEY environment variables.
Instructions
Pull the design system from Figma via REST API — no plugin or bridge required.
Prereq: FIGMA_TOKEN and FIGMA_FILE_KEY env vars.
Returns: { tokens, components, styles, lastSync }.
Errors: missing env vars, or Figma API errors (403 = bad token, 404 = bad file key). Use in CI/headless; equivalent to memi pull --rest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||