Document text
get_document_textExtract text from PDF, HTML, or text attachments to read their contents. Returns null for binary or scanned files; use search_documents for relevant portions of long reports.
Instructions
Extract text from a PDF/HTML/text attachment (in memory; nothing is stored). Binary
formats (xlsx, zip) and scanned PDFs return text: null with a reason. Prefer
search_documents to pull only the relevant part of long reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | PDF page selection like '1-3,7' (1-based). Default: all pages, subject to max_chars. | |
| max_chars | No | ||
| attachment_id | Yes | From get_disclosure_documents / get_disclosure attachments |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||