figma_export_node
Export a Figma node directly to a local PNG, JPG, SVG, or PDF file using an absolute path, avoiding base64 transfer issues.
Instructions
导出节点到本地文件。必须提供绝对路径 outputPath。不要把图片以 base64 传回。
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": {
"nodeId": "<nodeId>",
"outputPath": "<outputPath>"
},
"name": "figma_export_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| format | No | ||
| nodeId | Yes | ||
| outputPath | Yes |