search_page
Search the visible text of the current page for a term or regex and get matches with surrounding context. Locate content directly without needing a snapshot or screenshot.
Instructions
Grep the CURRENT page's visible text and return matches with surrounding context. Costs nothing compared to a snapshot or a screenshot — use it first to find where a term actually appears.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Substring, or a regex source when regex=true | |
| regex | No | ||
| max_matches | No | ||
| context_chars | No | ||
| case_sensitive | No |