save_figma_file_to_json
Exports complete Figma file data to a JSON file, including large files, with optional output path and pretty-printing.
Instructions
Save complete Figma file data to a JSON file (handles large files)
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": {
"fileKey": "<fileKey>"
},
"name": "save_figma_file_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | The Figma file key | |
| outputPath | No | The output file path (optional, will generate default if not provided) | |
| prettyPrint | No | Whether to pretty print the JSON (default: true) |