extract_tables
Extract all tables from PDFs into structured JSON. Returns headers, rows, and summary. Use for financial reports, research data, and invoices.
Instructions
Extract all tables from a PDF as structured JSON. Returns table count, headers, rows, and a summary. Costs 300 sats via Lightning. Use for: financial reports, research data, invoices with line items.
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": {
"url": "<url>"
},
"name": "extract_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the PDF | |
| max_pages | No | Max pages to process (default 20) |