extract_text_from_pdf
Extract text from a previously loaded PDF, choosing plain text, JSON, or blocks output, with optional page selection.
Instructions
Extract text from a loaded PDF document.
The document must be loaded first using load_pdf.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format - "text" (plain text), "json" (structured), or "blocks" (text blocks) | text |
| document_id | Yes | Identifier of the loaded document | |
| page_number | No | Specific page number to extract (0-indexed). If None, extracts all pages |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |