Groundhog
v0.23.5Search, read and research the web, with hidden text stripped by default and sources hashed
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_url Read a URL
Fetch one web page through the stealth browser and return clean, grounded content with provenance. Hidden text injected for models but invisible to humans is stripped by default and reported in `threats`. Use this to ground answers in live web content, including sites that block plain fetchers. Reads a URL you already have: use `search` to find URLs, or `research` to search and read in one call. Fetches are rate limited per domain (5s apart by default), so several pages from one site are not instant.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL. Private and loopback addresses are refused. |
format | string | 'markdown' extracts the article; 'text' returns the page's rendered text. |
include_hidden | boolean | Keep text that is invisible to a human reader. It is reported in `threats` either way; this only controls whether it stays in the content. |
max_tokens | Token budget for the content. Omit it, or pass a value below 1, to use the server's GROUNDHOG_MAX_TOKENS (20000 by default). | |
offset | integer | Start the content this many characters into the page's full markdown: pass `next_offset` from a truncated read to continue it, or a match's `offset`. Ignored when `query` is set. The page is fetched a… |
query | When set, the content is built from the passages most relevant to it, and `matches` lists each one's heading, offset and score for citation; it carries no text. If nothing matches, `matches` is empty… |
research Research the web
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 thre…
| Parameter | Type | Description |
|---|---|---|
query * | string | The question to research. Passages are ranked against it. |
aim | What the evidence must show, in at most 200 characters: the authority, artifact and version sought. Echoed in the receipt; it does not change the search or the ranking. | |
exclude_domains | Never read pages on these domains (at most 50). | |
follow | Read up to 8 of the `candidates` an earlier call offered instead of searching: each entry is a candidate's `token` and a `why` (at most 160 characters) saying what it should settle. Pass `query` and t… | |
include_domains | Read only pages on these domains or their subdomains (at most 8), e.g. a standards body or the vendor's docs. Several pages from one domain may be read. | |
max_sources | integer | 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. |
max_tokens | Token budget for the returned passages. Omit it, or pass a value below 1, to use the server's GROUNDHOG_MAX_TOKENS (20000 by default). | |
published_after | YYYY-MM-DD. Leave out pages dated before this day. A page with no date is kept and counted in the receipt's `unknown_dates`. | |
urls | Read these pages (up to 10) instead of searching, and rank their passages against `query`. The domain filters and `max_sources` still apply, and no more pages per site are read than the per-domain rat… |
search Web search
Search the web and return ranked hits (title, url, snippet, engine). Not for reading: it returns links, never page content. Use `read_url` for one known URL, or `research` when you want the answer rather than the links. Use this to find pages, then pass the URLs you want to `read_url` for safe, grounded content. Results come from a self-hosted SearXNG instance when `SEARXNG_URL` is set, otherwise from a search page rendered through the stealth browser. Hits are links only — nothing is fetched until you ask.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to search for. Must not be empty. |
limit | integer | How many hits to return. Values outside 1-25 are clamped rather than rejected. |
status Browser status
Check whether Groundhog can reach the stealth browser. Call this to diagnose setup before fetching: if `browser_reachable` is false, follow `hint` to start the browser, then retry.