extract_table
Extract an HTML table or a table containing a given element ref from a browser page as JSON row objects keyed by header row; select by ref or visible-table index and cap rows.
Instructions
An HTML table on the page as JSON rows (objects keyed by the header row when there is one). Pick it with ref (the table or anything inside it) or index among the visible tables.
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_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Ref of the table or of anything inside it. | |
| index | No | Which visible table (default 0). | |
| tabId | No | Tab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session. | |
| max_rows | No | Default 200. |