webtools_table_extract
Extract the HTML tables of a public web page as clean JSON (headers, rows, records keyed by header) or CSV: colspan/rowspan expanded, nested tables split, layout tables skipped. Pick one table by index or get all (max 30, 5000 rows each). HTML only, no PDF. Errors and pages without tables are not charged. Price: $0.005 USDC per call, paid with x402 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": {
"url": "<url>"
},
"name": "webtools_table_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the HTML page (max 3 MB) | |
| table | No | Optional table index (0-based, among data tables); omit for all tables | |
| format | No | json (default) or csv (csv returns one table: the selected one or the first) | |
| max_rows | No | Rows per table, 1-5000, default 500 |