extract_data_from_url
Fetch a web page and extract precise DOM data using CSS selectors. Returns structured JSON with options for text or attributes, multiple matches, and value length limits.
Instructions
Fetches a web page and extracts precise data from its DOM using CSS selectors.
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>",
"selectors": "<selectors>"
},
"name": "extract_data_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| selectors | Yes | ||
| max_value_length | No | Maximum length of each extracted value; longer values are truncated |