v1.6.1

Web Search and Fetch Tools

Last updated


Tools that search the web and fetch pages for the agent to read.
ToolConcurrentDescription
search_web✓Live web lookup returning DuckDuckGo results and Google News headlines together as {"web":[...],"news":[...]}. source picks all / web / news; time_range applies a lookback window to both (news caps at 7 d); edition sets the news locale (TW:zh-Hant, US:en); cdp=true forces a browser fetch (auto-enabled on HTTP 202); a refresh flag skips the result cache. Since v1.3.1, with a decision model set, each result title is judged against the current request and titles judged unrelated at confidence 0.7 or higher are dropped; the cache keeps the unfiltered list, so a cached answer is filtered again. When every result is unrelated the tool returns a note to refine the query instead. Without a decision model, or when the check fails, all results come back. 90 s cap
fetch_page✓Fetch one web page as markdown, html or json, chosen with output_type (default markdown; the former type parameter was renamed output_type, Removed in v1.3.17) (readability + 4xx/5xx skip cache via ToriiDB; since v1.3.17 an error page is recognised from the HTTP status as well as the page title — 404 / 410 return [Not found], other 4xx/5xx [Upstream] — and a 404 / 403 / 410 inside the final URL no longer counts). Cookies from the persistent Chrome profile are sent by default so login-required sites work transparently; headless is attempted first and retried visibly on failure, and headless: false opens a visible window right away when a display exists (before v1.1.4 it forced headless-only instead). scroll (added in v1.3.6; 0-20, default 3, values above 20 clamped) sets how many scroll passes load lazy content, stopping early once the page stops changing — 10-20 for feeds, timelines and long comment threads, 0 for the top of the page only. keep_links keeps same-domain links for recursive document research, and force skips the 30-minute cache and retries a URL marked as failed. The save and save_to parameters were Removed in v1.3.6: saving a page to disk is download_file(render=true). Since v1.3.1 the tool tells the agent to fetch a site's /llms.txt before its first page and, when that file lists the wanted page, to fetch the listed .md URL instead. The 100 KiB cut and the Web page content: wrapper were Removed in v1.3.17: a fetch now reads up to 1 MiB, and html output over 1 MiB returns a [Limit] error pointing to output_type=markdown or to download_file(link, render=true) followed by read_files in parts. With a decision model set, page chrome (ads, navigation, share or subscribe prompts, cookie notices, footers, related-link lists) is removed from markdown output that was not fetched with keep_links and is no larger than 1 MiB, tables excepted, and that noise-free original is what the 30-minute cache stores. Since v1.3.17 filtering against the current request runs at delivery, on a fresh fetch and a cache hit alike, so the same cached page is filtered again for each request: a markdown or json page that fits in one decision call (about 20,000 runes minus the request) is judged whole and withheld with a note to use a different source when it does not bear on the request; a longer page is split into blocks (tables, headings on pages up to 1 MiB and, with keep_links, link blocks are always kept), blocks judged unrelated at confidence 0.7 or higher are dropped, and markdown output gets a [Filtered for the current request: kept N of M blocks; ...] header (a filtered json tree carries none); a page with no related block is withheld. A page over 1 MiB is cut to its first 1 MiB and keeps only blocks that themselves state the answer at confidence 0.7 or higher; when none does, the note says the page is over 1 MiB and points to download_file(link, render=true). A failed check keeps the content, a page over 1 MiB then coming back as its first 1 MiB with the same pointer. html output is not filtered. Measured results are on fetch_page Filtering Benchmark. 90 s cap

Since v1.3.18, fetch_page can ask whether to continue when it encounters a verification challenge. In v1.3.19, this also applies to download_file with render=true. If you agree, complete the check in the visible browser window within five minutes. Both tools share the session’s choice to continue or skip; the choice is kept for 30 minutes after its last use. Closing the verification window cancels the operation and clears that choice. Non-interactive runs, Linux without a display, and WSL do not prompt. Agenvoy uses go-browser v0.3.8.