import_mappings
Merge external JSON mapping assets into the local .smart-figma/mappings.json file without overwriting existing keys.
Instructions
Import mapping assets from external JSON and merge them into the local .smart-figma/mappings.json. Existing keys are not overwritten.
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>",
"data": "<data>"
},
"name": "import_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Exported JSON data (containing a mappings array) | |
| projectRoot | Yes | Absolute path to the project root |