figma_rest_api
Export files as SVG/PNG, manage comments, access version history, list teams and projects, and retrieve image fills via the Figma REST API. Requires a token set by figma_set_rest_token.
Instructions
Call Figma REST API directly. Requires a token set via figma_set_rest_token. Use for: file export (SVG/PNG), comments, version history, team/project listing, image fills, and anything not available through the plugin bridge. Endpoint examples: GET /v1/files/:fileKey, GET /v1/images/:fileKey, GET /v1/files/:fileKey/comments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | REST API path, e.g. '/v1/files/abc123' or '/v1/me' | |
| method | No | HTTP method | GET |
| body | No | JSON body for POST/PUT requests |