read_document
Extract targeted content from local PDF, Excel, CSV, JSON, TXT, and DOCX files by specifying page, row, or character limits. Get precise document sections without loading the entire file.
Instructions
Read a portion of a document (PDF, Excel, CSV, JSON, TXT, DOCX).
IMPORTANT: When presenting results to users, ALWAYS mention:
The folder/directory path (e.g., 'Well 1/Well Test/')
The complete document name This helps users understand which well and document type is being referenced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| max_chars | No | ||
| page | No | ||
| max_pages | No | ||
| sheet | No | ||
| start_row | No | ||
| num_rows | No | ||
| include_tables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |