Search a page for text
find_in_pageLocates exact phrases or regular expressions in web pages or PDFs, returning each match with surrounding context and its section ID for quick reference.
Instructions
Finds exact text (case-insensitive) or a regular expression in a page or PDF and returns each match with surrounding context and its section id. For facts whose wording you know: a name, a number, an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL | |
| text | Yes | ||
| regex | No | ||
| context | No | chars around each match, default 200 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| total | Yes | ||
| matches | Yes |