web_fetch_tables
Extract tables from any URL and convert them to markdown tables, handling table headers, body, colspan, and captions for structured data retrieval.
Instructions
Extract tables from a page and return as markdown tables. Handles thead/tbody, th/td cells, colspan, and captions.
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": "web_fetch_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to extract tables from | |
| table_index | No | Specific table index to return (0-based). Returns all tables if not specified. | |
| timeout | No | Request timeout in seconds (default 30, max 120) |