read_document_structure
Read Word document paragraphs and their style information, with pagination for large files.
Instructions
分段读取 Word 文档的内容和样式信息。支持分页读取大文档。
Args: file_path: 文档路径 start_index: 从第几个段落开始读取 (0-based) limit: 最多读取多少个段落 (默认50) include_empty: 是否包含空段落 (默认False)
Returns: JSON 格式的字符串,包含段落文本和对应的样式信息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| file_path | Yes | ||
| start_index | No | ||
| include_empty | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |