find_in_snapshot
Searches the full page snapshot outline and returns matching lines under their ancestor refs, capped at 20 matches, to locate content on large pages without loading a full snapshot.
Instructions
Searches the whole 'snapshot' outline (never cut) and returns only the matching lines under their ancestors, with their refs (at most 20 matches). Cheaper than 'snapshot' on a large page.
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_in_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to find in the lines, case-insensitive. Give this or 'regex'. | |
| regex | No | JavaScript regular expression, case-sensitive. Give this or 'text'. | |
| tab_id | No | Default: the active tab. | |
| instance_id | No | Default: 'default'. |