find
Use text or regex to narrow a web page snapshot to matching elements, enabling targeted inspection and automation.
Instructions
Snapshot narrowed to elements whose name, text, value or href contains text or matches regex.
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": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| tab | No | tab id, defaults to current | |
| text | No | ||
| boxes | No | ||
| regex | No | ||
| format | No | text (default) or json | |
| selector | No | ||
| request_timeout | No | Outer page request deadline in milliseconds; defaults to at least 30000 |