safari_extract_tables
Convert HTML tables on the current Safari page into structured JSON with headers and rows. Specify a CSS selector to target specific tables and limit the number extracted for data scraping.
Instructions
Extract HTML tables as structured JSON (headers + rows). Perfect for scraping data 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": "safari_extract_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max tables (default: 10) | |
| selector | No | CSS selector (default: 'table') |