set_layout_grids
Applies grid, column, or row layout grids to a Figma frame, letting you define count, gutter, offset, section size, and alignment for precise responsive structure.
Instructions
Set the layout grids of a frame: GRID (square), COLUMNS or ROWS (count, gutterSize, offset, alignment, sectionSize).
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>",
"grids": "<grids>"
},
"name": "set_layout_grids"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grids | Yes | ||
| nodeId | Yes |