Extract Pdf Text
extract_pdf_textExtract text and optional tables from PDFs into structured JSON, with page-range selection for targeted parsing.
Instructions
Extract text and optional tables from a PDF as structured JSON.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Optional pages/ranges to extract, e.g. '1-5'. | |
| source_url | No | Public URL of the PDF. | |
| file_base64 | No | Base64-encoded PDF. | |
| extract_tables | No | Whether to extract tables too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||