figma_download_assets
Export selected Figma nodes to PNG, JPG, SVG, or PDF files on disk, with configurable scale and output directory, then return the saved file paths.
Instructions
Export nodes to files on disk (PNG/JPG/SVG/PDF) and return the paths.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeIds": "<nodeIds>"
},
"name": "figma_download_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| format | No | PNG | |
| outDir | No | Defaults to a temp directory | |
| fileKey | No | Which connected Figma file to use: its fileKey (figma_whoami) or, when omitted, the only connected file. Required once more than one file is connected; figma_ping lists them. | |
| nodeIds | Yes |