scan_document
Scans the active InDesign document into the session cache and assigns stable UUID labels. Use once per session before planning edits; then execute batch operations.
Instructions
Scan the active InDesign document into the session Document Model cache and write stable mcp: labels. Call ONCE per session before planning edits; then use execute_batch (not repeated scans).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | full (default) includes styles, layers, links, selection; minimal is pages+items only | |
| timeoutSec | No | ||
| writeUuids | No | Write mcp:<uuid> script labels (default true) | |
| captureSnapshot | No | Optionally capture a snapshot after scan (default: before) |