extract.pdf
Extract page text and heuristic tables from a base64-encoded PDF for downstream reasoning. Call for general PDF text hops — receipt/invoice field extraction belongs to parse.receipt / parse.invoice. Inputs: file_base64 (or pdf/base64 aliases); optional options.includeTables / maxPages. Decoded size ≤ 10 MiB. Outputs pages[].text and optional tables. Paid (~10 credits / $0.10) via prepaid key or x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Alias for file_base64 | ||
| base64 | No | Alias for file_base64 | |
| options | No | includeTables (bool), maxPages (1–100). Example: {"includeTables":true,"maxPages":10} | |
| file_base64 | No | Base64 PDF bytes; decoded ≤ 10 MiB. Example: JVBERi0xLjQK... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||