Expand description
web_fetch: fetch a URL and answer a prompt about its content.
The tool fetches the URL, reduces it to text, and asks a small fast summarizer model to answer
the prompt over that content, so large pages never reach the main agent’s context. By default
the request runs as curl inside the agent’s sandbox (the same seam shell and the file tools
use), so a sandbox with network isolation or egress rules covers web_fetch too;
WebFetchTransport::Direct fetches from the harness process instead. Fetched pages are
cached per tool for 15 minutes.
Structs§
- WebFetch
Config - Per-tool config for the
web_fetchbuilt-in (WebFetchConfig). - WebFetch
Config Builder - Use builder syntax to set the inputs and finish with
build().
Enums§
- WebFetch
Transport - How
web_fetchmakes its request (WebFetchTransport).
Functions§
- web_
fetch_ tool - Builds the
web_fetchtool.