extract_tables
Extract the tables from a document as typed JSON: send text (CSV, TSV, semicolon or pipe separated, Markdown tables or HTML), html, or a url to a web page or CSV file. Each table gets headers (multi-row headers joined, colspan and rowspan expanded), column types (number, percent, currency, date, boolean, string) and rows with parsed values. Deterministic, no model; up to 20 tables and 500 rows each. Costs $0.005 USDC on Base via x402.
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_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public web page or CSV file, instead of text | |
| html | No | HTML, instead of text | |
| text | No | CSV, TSV, Markdown or HTML text containing tables | |
| limit | No | Rows returned per table (default 100) |