figma_export
Export design nodes to local files as PNG, JPG, SVG, PDF, or JSON, with optional inline attachments.
Instructions
Export nodes to local files. PNG/JPG (up to 2 MB each) are attached inline as images — the screenshot path. JSON = the subtree in Figma REST API shape (JSON_REST_V1), for design-to-code tooling; SVG and JSON also come back inline as text (up to 200 KB).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Raster scale, default 1. Use 0.5 for quick looks. | |
| format | No | Default PNG. JSON = Figma REST API shape. | |
| inline | No | Attach PNG/JPG results as image content (default true). Set false when exporting many nodes or when only the files are needed. | |
| nodeIds | No | Node IDs to export. Omit to export the current selection. | |
| contentsOnly | No | Export only the node contents, excluding overlapping siblings (Figma default: true). | |
| useAbsoluteBounds | No | Include the full bounds incl. effects such as shadows. |