set_grid
Apply layout grids to a Figma frame node, supporting columns, rows, and grid patterns with customizable alignment, color, and visibility.
Instructions
Apply layout grids to a frame node in Figma. Supports columns, rows, and grid patterns.
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_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the frame node to apply grids to | |
| grids | Yes | Array of layout grids to apply |