List Layers
layer_listRetrieve the full layer table from an AutoCAD drawing, showing each layer's color, linetype, frozen, locked, and visibility states, for inspection or automated decisions.
Instructions
List all layers with their properties (color, linetype, frozen, locked, visibility).
Never truncated — a drawing's whole layer table is returned — so a compact envelope here always reports truncated=false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Project to these fields, in this order (e.g. ['handle','type','layer']); 'properties.<key>' reaches one nested value. Omit for the full record; an unknown name errors and lists the valid ones. | |
| compact | No | Return a columnar {fields, rows, count, offset, total, truncated, next_offset} envelope instead of dicts: much cheaper per row, and the only shape that reports truncation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |