fetch_and_search
Fetch a URL and get cleaned content, links, and regex search results in one call. Ideal for understanding a page and quickly navigating or searching its content.
Instructions
One-shot combo: fetch a URL and simultaneously return BOTH the cleaned content AND its links AND any matching search snippets. Most efficient when you want to understand a page and also navigate/search it. Omit pattern/links as needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL to fetch. | |
| format | No | Content format to return. | markdown |
| pattern | No | Regex pattern to search in the content; omit to skip search. | |
| maxChars | No | Truncate returned content to this many characters. | |
| linkLimit | No | Max links returned. | |
| linkFilter | No | Regex to filter returned links (href or text). | |
| maxMatches | No | Max search matches. | |
| contextChars | No | Context chars around each match. | |
| includeLinks | No | Return the page's links. |