extract_structured_data
Scrape a URL then use AI to extract structured JSON data matching your schema description. Combines Playwright scraping with Grok LLM extraction.
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>",
"schema_description": "<schema_description>"
},
"name": "extract_structured_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to scrape | |
| schema_description | Yes | Description of the data to extract and desired JSON structure. Example: 'Extract all product names and prices as {products: [{name, price}]}' |