validate_selectors
Check reliability of existing selectors by testing them against a URL or the current page. Identify broken selectors to keep web scrapers running.
Instructions
Validate existing selectors and check their reliability
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": {
"selectors": "<selectors>"
},
"name": "validate_selectors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to test selectors against (uses current page if not provided) | |
| selectors | Yes | Array of selectors to validate |