Skip to main content

Module web

Module web 

Source
Expand description

Web tool — search the web and read pages.

Single tool with two actions:

  • search: query a search API (Tavily, Exa, Linkup, or Perplexity), or GitHub when sources includes github
  • read: fetch a URL and extract readable content natively

Search provider is config-driven ([web] search_provider = "tavily"). Reading is native — reqwest + readability, no API key needed.

Modules§

read
Native page reading — fetch HTML via reqwest + extract with readability.
search
Search provider implementations — Tavily, Exa, Linkup, Perplexity.
types
youtube

Structs§

WebTool