reorder_grid_tracks
Move entire rows or columns within a Figma GRID frame, carrying their child elements, by specifying source track indices and the insertion index.
Instructions
Move whole rows or columns of a GRID frame, taking their children with them. fromIndices lists the 0-based tracks to move and insertionIndex is where they land.
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>",
"axis": "<axis>",
"fromIndices": "<fromIndices>",
"insertionIndex": "<insertionIndex>"
},
"name": "reorder_grid_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| nodeId | Yes | ||
| fromIndices | Yes | ||
| insertionIndex | Yes |