figma_set_layout_grid
figma_set_layout_gridApply a layout grid to a Figma frame, component, or instance by specifying pattern, count, gutter, margin, and related grid settings.
Instructions
Apply a layout grid directly to a frame, component, or instance.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_set_layout_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| count | No | ||
| margin | No | ||
| nodeId | No | Figma node ID. Colon or URL hyphen format accepted. | |
| offset | No | ||
| nodeIds | No | Figma node IDs. Colon or URL hyphen format accepted. | |
| pattern | No | ||
| visible | No | ||
| alignment | No | ||
| screenKey | No | ||
| gutterSize | No | ||
| sectionSize | No |