figma_rest_api
Call Figma REST API directly to export files, manage comments, access version history, and list projects. Use custom endpoints for operations beyond the plugin bridge.
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 |
|---|---|---|---|
| body | No | JSON body for POST/PUT requests | |
| method | No | HTTP method | GET |
| endpoint | Yes | REST API path, e.g. '/v1/files/abc123' or '/v1/me' |