export_mappings
Write Figma-to-component mapping assets to .smart-figma/mappings.json for team sharing or migration, using the project root.
Instructions
Export the .smart-figma/mappings.json mapping assets (for team sharing or migration).
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": {
"projectRoot": "<projectRoot>"
},
"name": "export_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | Absolute path to the project root |