table_to_json
Extracts an HTML table into JSON with headers, rows, and row count. Defaults to the first table on the page.
Instructions
Alias for extract_table with a first-table default. Pulls a table into {headers, rows, row_count}; selector defaults to 'table'. Use this when an agent expects a table-to-JSON convenience tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Optional CSS selector matching the <table> element (default: table) |