migrate_all_svgs
Find and export all SVG icons from a Figma file by ID, saving them to a chosen output directory for migration or reuse.
Instructions
Automatically find and export all SVG icons from a Figma 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": {
"fileId": "<fileId>"
},
"name": "migrate_all_svgs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Figma file ID to migrate SVGs from | |
| outputDir | No | Output directory for exported SVGs (default: ./exported-svgs) | ./exported-svgs |