insert_child
Moves a Figma node into a specified parent container at a chosen index to reorder layers or place elements precisely within the design hierarchy.
Instructions
Move a node into a parent container at a specific index
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": {
"parentId": "<parentId>",
"childId": "<childId>"
},
"name": "insert_child"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Index to insert at (appends if not specified) | |
| childId | Yes | The ID of the child node to insert | |
| parentId | Yes | The ID of the parent node |