fields_list
List every field in a Word .docx by story, with address, instruction code, type, result text, and stale status; filter by field type or story.
Instructions
Every field of the document, by story: its address, instruction code, type (PAGE, TOC, REF, ADDIN ZOTERO_ITEM, CITATION, ...), result text and whether the result is stale. Covers complex fields (also nested, or split across runs), simple fields and fields in text boxes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Path to the .docx. | |
| type | No | Only fields of this type, e.g. "TOC" or "ADDIN ZOTERO_ITEM". | |
| stories | No | Stories to read (default all): "body", "notes", "headers" and "comments". |