wps_word_get_document_text
Retrieve text content from the active Word document, optionally specifying a start and end position to extract a portion of the text.
Instructions
获取当前Word文档的文本内容。
使用场景:
"读取文档内容"
"获取文档的前100个字符"
"查看文档从第50到第200个字符的内容"
可指定起始和结束位置来获取部分文本。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | 结束位置(字符索引),默认到文档末尾 | |
| start | No | 起始位置(字符索引),默认从头开始 |