fix_spacing
Automatically adjust spacing values to snap to the nearest 8px grid, ensuring design consistency and alignment.
Instructions
Auto-fix all spacing values to nearest 8px grid value.
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": "fix_spacing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Root node to fix | |
| grid | No | Grid size (default: 8) |