pdf_text
Text layer of a PDF as Markdown: headings by font size, bullets, tables as Markdown tables. Flags scanned PDFs (no text layer) so you can send them to OCR. Billed per page. Cost €0.005 per page, charged to the API key in Authorization: Bearer. Parameters — url: pdf url; pages: e.g. 1-5 (default all); tables: bool, include tables (default true).
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": "pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| pages | No | ||
| tables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |