search_pages
Find specific content across previously crawled web pages by searching local archives with keywords. Retrieves ranked results containing page URLs, titles, and contextual text snippets.
Instructions
Search through previously crawled pages by keyword.
Performs case-insensitive keyword search across page titles and text content.
Results are ranked by the number of matching query words found. Each result
includes the page URL, title, and a text snippet showing context around the
first match.
This is a read-only operation on local files — no network requests are made.
Requires a prior crawl_site call to have populated the pages.jsonl file.
Args:
query: Search query — one or more keywords separated by spaces. All words
are searched independently (OR logic). Example: "authentication API key".
jsonl_path: Full path to the pages.jsonl file from a previous crawl. If
empty, defaults to <WEBCRAWLER_OUTPUT_DIR>/pages.jsonl.
max_results: Maximum number of results to return. Default: 10. Use lower
values for focused searches, higher for comprehensive surveys.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| jsonl_path | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |