pdf_extract
Extract text per page, outlines, metadata, and token count estimates from PDFs so multi-page reports, contracts, and legal documents can be ingested into context.
Instructions
Extract text per page, outlines, document metadata, and accurate token count estimates from PDF documents. Use when ingesting multi-page reports, whitepapers, contracts, or legal documents into context. Read-only and idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct HTTPS URL to download the target PDF file. | |
| max_pages | No | Maximum number of consecutive pages to extract (1 to 50, default 15). | |
| start_page | No | 1-based index of the first page to extract (default 1). | |
| file_base64 | No | Base64-encoded binary content of the PDF file. |