Link Layers
link_layersParent layer_ids to parent_id (null unlinks), or to a new_null created at their average position (3D if any of them is), stacked above them. jump true keeps each child's own transform values (it can visibly move).
Instructions
Parent layer_ids to parent_id (null unlinks), or to a new_null created at their average position (3D if any of them is), stacked above them. jump true keeps each child's own transform values (it can visibly move). Self-links, cycles, locked layers or mixed comps are refused before anything changes.
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": {
"layer_ids": "<layer_ids>"
},
"name": "link_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jump | No | ||
| new_null | No | ||
| layer_ids | Yes | Same comp | |
| parent_id | No |