query_selector
Find elements by CSS selector or XPath and return up to 50 labeled refs for other tools to act on, including inside open shadow roots and same-origin iframes via >> chains.
Instructions
The elements a CSS selector or an XPath matches, as refs any other tool can act on, fifty at a time, each with a short label. A chain a >> b enters open shadow roots and same-origin iframes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||