probe_selectors
Check candidate CSS selectors against a live web page to return match counts and first-match samples, so you can validate and refine selectors before extracting data.
Instructions
Fetches a web page and reports, for each CSS selector, how many elements match and a short sample of the first match. Use it to verify or refine candidate selectors cheaply.
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": "probe_selectors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| selectors | Yes |