create_instance_from_component_key
Create an instance from a library component key within a target frame or parent; set position, stack index, auto-layout, and sizing as needed.
Instructions
Create an instance from a library component key inside the target frame/parent. Pass parentNodeId + index for auto-layout stacks; omit x/y unless the parent is freeform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| index | No | ||
| componentKey | Yes | ||
| parentNodeId | No | ||
| ignoreAutoLayout | No | ||
| layoutSizingVertical | No | FIXED | HUG | FILL | |
| layoutSizingHorizontal | No | FIXED | HUG | FILL |