extract_structured
Scrape a URL and extract specific fields using CSS selectors. Get structured data like product prices or article titles from known page layouts.
Instructions
Scrape a URL and extract specific fields using CSS selectors. Use when you need structured data from a known page layout (e.g. product price, article title, table data).
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>",
"fields": "<fields>"
},
"name": "extract_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to scrape | |
| fields | Yes | List of fields to extract using CSS selectors | |
| javascript | No |