List Blocks
block_listLists all block definitions in an AutoCAD drawing, showing name, origin, attribute count, and entity count. Use it to audit available blocks before inserting or modifying references.
Instructions
List all block definitions in the drawing (name, origin, attribute count, entity count).
Never truncated — the whole block 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 |