Extract tables from a text PDF
document-formats_pdf-table-extractRead-onlyIdempotent
Extract bordered or whitespace-aligned tables from a caller-supplied PDF (no OCR). Price $0.04 USDC. POST /api/v1/document-formats/pdf-table-extract. An unpaid call returns the x402 payment terms and does not run.
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": {
"pdfBase64": "<pdfBase64>"
},
"name": "document-formats_pdf-table-extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | mode, string, one of auto, lattice, stream. Required. | auto |
| pages | No | pages, array. Optional. | |
| pdfBase64 | Yes | pdfBase64, string, length 16 to 20971584. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | tables. Array. | |
| sources | No | sources. Array. | |
| pageCount | No | pageCount. Number. | |
| limitations | No | limitations. Array. | |
| pagesWithoutText | No | pagesWithoutText. Array. |