figma_apply_transformations
Apply approved transformations from a Figma design analysis, updating fills, styles, layout, and instances; replaced originals are hidden, never deleted, with one undo step.
Instructions
Apply transformations from figma_analyze_design. REQUIRES approved=true, which you may only set after the user explicitly approved. Pass ids to apply a subset (default all). Replaced originals are hidden and renamed, never deleted. One undo step.
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": {
"analysisId": "<analysisId>",
"approved": "<approved>"
},
"name": "figma_apply_transformations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| ops | No | Apply only these kinds of transformation | |
| groups | No | Apply only these groups (ids from figma_analyze_design, e.g. g1) | |
| approved | Yes | ||
| analysisId | Yes | ||
| excludeGroups | No | Apply everything except these groups |