find_text
Find specific text within a web page using substring or exact match, returning context and ranking meaningful content over navigation boilerplate.
Instructions
Find localized text matches and return [{ref, tag, attrs, before, match, after, text}]. Ranks article/main/content matches above nav/header/footer boilerplate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Substring to match (or exact string if exact=true) | |
| exact | No | If true, exact cleaned-text match instead of substring (default false) | |
| limit | No | Max matches to return (default 20) | |
| selector | No | Optional CSS selector to limit search scope | |
| context_chars | No | Characters before/after each match (default 80) |