research
Fetch multiple web pages for a query and return the relevant passages, each with source attribution and provenance. Failed sources are reported separately.
Instructions
Search the web and return ranked passages drawn from several sources.
One call does what search + repeated read_url would: finds pages, reads
them through the stealth browser, and returns the passages most relevant to
query — each attributed to its source, with that source's provenance
receipt and any stripped injection payloads. A source that fails is reported
in sources rather than failing the whole call.
Prefer read_url when you already have the URL, and search when you only
want links. This reads max_sources pages, rate limited per domain, so it is
the slowest of the three and the one to avoid for a single known page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The question to research. Passages are ranked against it. | |
| max_tokens | No | Token budget for the returned passages. Omit to use the server's GROUNDHOG_MAX_TOKENS (20000 by default). Must be positive. | |
| max_sources | No | How many pages to read. Values outside 1-10 are clamped rather than rejected. Each source is a full page fetch, so this is the main cost and latency control. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| backend | Yes | ||
| sources | Yes | ||
| passages | Yes | ||
| truncated | Yes |