query
Find elements in the current browser tab by CSS selector, returning details like tag, id, classes, text, href, rectangle, and visibility.
Instructions
Query elements by CSS selector; returns details for each match (tag, id, classes, text, href, rect, visibility).
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": {
"selector": "<selector>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches (default 20) | |
| tabId | No | ||
| selector | Yes |