ai_getState
Retrieves Illustrator document state, including active document size, color mode, artboards, layers, selection, and item counts by type, for inspection and automation.
Instructions
Illustrator: open documents and the active one — size, color mode, artboards (rects), layers (visible/locked/item counts), selection, item counts by type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Document name; omit for the active document. | |
| listItems | No |