r7_read
Reads structured text, filtered paragraphs, markdown, spreadsheet ranges, or slides from DOCX, XLSX, PPTX, and PDF files, optionally returning normalized formatting and formulas.
Instructions
Read structured text, filtered paragraphs, markdown preview, spreadsheet ranges or slides, optionally with normalized formatting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Max paragraphs to return for DOCX. | |
| query | No | Filter text by substring. | |
| range | No | Cell range for XLSX (e.g. A1:D10). | |
| format | No | Output text representation (default: structured). | |
| filePath | Yes | Path to the document file. | |
| sheetName | No | Sheet name for XLSX. | |
| sheetIndex | No | 0-based sheet index for XLSX. | |
| slideIndex | No | 0-based slide index for PPTX. | |
| fromParagraph | No | 0-based starting paragraph index for DOCX. | |
| includeStyles | No | Return normalized formatting instead of raw OOXML. DOCX: a "formatting" block per paragraph (style, font family/size, bold, italic, underline, colour, alignment, indents, spacing before/after, line spacing, list/numbering). XLSX: a "styles" matrix plus merged ranges, row heights and column widths. Read this before changing a document. | |
| includeFormulas | No | XLSX: also return the formulas matrix. |