locate
Find paragraphs in a .docx by address or range and return chapter, scene, estimated page, plus a unique first-and-last-words phrase that Word's Find can match once.
Instructions
Chapter, scene, estimated page and the shortest unique first-and-last-words phrase of each paragraph, plus a phrase Word's Find meets once (one, a range, or the whole document, paged).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Paragraph address or range (offsets ignored), e.g. p142#a7b2a7b2; default the whole document (empty paragraphs left out). | |
| doc | Yes | Path to the .docx. | |
| limit | No | Most items to return; a response is also capped at about 8,000 bytes. | |
| cursor | No | The `next` value of the previous response, to continue the list. | |
| profile | No | Detection settings for this document. | |
| overrides | No | Force or deny a chapter or scene at paragraphs by fingerprint. | |
| structure | No | false: skip chapter, part and scene detection (they come back null), for callers that keep their own structure; faster on a single paragraph. Default true. |