annotate_spacing
Add visual spacing redlines to a Figma frame, displaying padding, margin, and gap values to make layout spacing clear for design review.
Instructions
Add visual spacing annotations (redlines) to a frame.
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>"
},
"name": "annotate_spacing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Frame to annotate | |
| showGap | No | Show gap values (default: true) | |
| showMargin | No | Show margin values (default: true) | |
| showPadding | No | Show padding values (default: true) |