parse_generic_document
Parse any PDF to extract text and tables, returning structured JSON for flexible data processing.
Instructions
Extract text and tables from any PDF document.
Less structured than specialized parsers, but more flexible.
Returns full text content and detected tables.
Args:
file_url: Public URL of the PDF file (max 20MB).
language: Document language(s) for OCR. Default: ita+eng.
extract_tables: Detect and extract tables. Default: true.
Cost: $0.01 per document, paid via x402 USDC on Base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_url": "<file_url>"
},
"name": "parse_generic_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | ||
| language | No | ita+eng | |
| extract_tables | No |