save_figma_nodes_to_json
Export specified Figma nodes to a JSON file for analysis, backup, or downstream processing. Optionally set the output path and pretty-print formatting.
Instructions
Save specific nodes from a Figma file to a JSON file
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>",
"ids": "<ids>"
},
"name": "save_figma_nodes_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of node IDs to save | |
| 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) |