word_analyze
Analyze Word document structure to locate paragraphs and cells for precise text replacement. Returns an index to target replacements accurately.
Instructions
Analyze a Word document structure. Returns text index for word_replace.
Addressing scheme for replacements: p:{i} → body paragraph c:{t}:{r}:{c} → entire cell (auto line-map, use \n for multi-line) c:{t}:{r}:{c}:{p} → specific paragraph inside a cell
Optional format hints (in fmt_hints param): "_fmt:p:{i}" → {"runs": [{"text": "中一", "underline": true}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||