find_in_page
Search page text to return matching snippets with surrounding context and character offsets, avoiding the cost of reading the whole page. Supports case-insensitive and regex queries.
Instructions
Search the page text and return only the matching snippets (with surrounding context and the char offset in get_text), far cheaper than reading the whole page. Case-insensitive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regex | No | ||
| context | No | ||
| max_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |