get_grid_layout
Read a GRID frame's track counts, gaps, per-track sizes, and each child's cell, span, and alignment before repositioning children; returns isGrid:false for non-grid frames.
Instructions
Read a GRID frame's track counts, gaps, per-track sizes, and every child's cell, span, and alignment. Returns isGrid:false for a frame that is not in GRID layout. Call this before repositioning children so you know the grid's bounds.
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": "get_grid_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes |