Get Document Info
get_document_infoGet a document overview: paragraph, table, footnote, comment, revision, and section counts, plus package parts. For live open Word documents, includes word counts and tracked changes. Read-only.
Instructions
Read a one-call document overview: paragraph/table/footnote/comment/ revision counts, sections, and package parts. Documents open in Word are read live (same key names; live adds 'words' from Word's own ComputeStatistics counter plus track_revisions, and omits the part list). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | auto: file or live; force: live; off: refuse | auto |
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||