Skip to main content

Web Module

Module id web. Search the public web and fetch pages. Default search backend is DuckDuckGo (no API key). Optional fallbacks: Brave, Tavily, SearXNG, Google.

There is no separate web.extract or web.download tool. Main-content extraction is web.fetch with extract: true. For a persistent interactive browser session, prefer the browser module.

Module declaration

yaml
tools:
modules:
web:
config:
backend: duckduckgo
# fallback: brave
# allowed_domains: []
# blocked_domains: []
capabilities:
default_policy: auto
grant:
- module: web
actions: [search, fetch]

Tools

ActionShort aliasPurpose
web.searchWebSearchSearch via the configured backend.
web.fetchWebFetchOpen / fetch a URL (optional extract, actions, screenshot, crawl, profile, live).

web.search

ParamNotes
queryRequired.
limitMax results (default 10).
fetch_contentInline main page text per hit (default true).
time_rangeday / week / month / year.

web.fetch

ParamNotes
urlURL to open; omit to re-read the current page in-session.
formattext / markdown / html.
extractMain article body only.
promptFocus extraction on a topic.
actionsPage interactions before reading.
screenshot / live / profile / crawlSee tool schema on a running daemon.

Search backends

BackendAPI keyNotes
duckduckgo (default)noFree default.
braveyesProduction-quality.
tavilyyesAgent-oriented snippets.
searxnginstance URLSelf-hosted meta-search.
googleAPI key + CXHighest quality, paid.

Outbound fetches are SSRF-guarded (private-network blocklist). See Production → SSRF.

Cross-references