get_table_data
Extract structured data from HTML tables by parsing headers and rows. Use to verify tabular content without manual markup scraping.
Instructions
Parse an HTML table into structured data, mapping header cells to each row's values. Returns {headers, rows, total_rows} where rows are header→value objects. Use instead of scraping table markup by hand when verifying tabular content.
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": {
"session_id": "<session_id>"
},
"name": "get_table_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_rows | No | Max rows to return (default: 100) | |
| selector | No | CSS selector for the table (default: 'table') | |
| session_id | Yes | Session ID |