Get Layers
get_layersRetrieve a document's layer hierarchy as a tree, including sublayers and optional items, to inspect and understand Illustrator structure before editing.
Instructions
Get layer structure as a tree
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_items | No | Include items within each layer | |
| coordinate_system | No | Coordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native coords, origin at bottom-left, Y-up. Call get_document_info to check which system is active. | |
| include_sublayers | No | Include sublayers |