paragraphs_list
List all paragraphs in a .docx with address, text, style, and layout facts in document order. Use to locate or inspect content before applying edits.
Instructions
Every paragraph with its address, text, style and layout facts (optionally the normalised text and the estimated page), in document order. heading_level is null for a body paragraph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Path to the .docx. | |
| limit | No | Most items to return; a response is also capped at about 8,000 bytes. | |
| pages | No | Add the estimated `page` and `page_label` per paragraph, and `page_basis`, `rendered_marks` and `page_count` (see page.estimate). | |
| cursor | No | The `next` value of the previous response, to continue the list. | |
| stories | No | Stories to read (default ["body"]): "notes" adds footnotes and endnotes, each after the paragraph holding its mark; "headers" adds headers and footers, after the body. Their addresses carry a prefix (fn3/p1#…, hdr1.default/p1#…). | |
| normalized | No | Add `normalized`, the text as `text.normalized` gives it. |