> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search the web

> Search the web using a search engine.

{/* Tool: web_search */}

## Parameters

<ParamField path="query" type="string" required={true}>
  Search query.
</ParamField>

<ParamField path="time_range" type="string" default={"anytime"}>
  Recency window for results: "anytime", "day", "week", "month", "year" (aliases: "a", "d", "w", "m", "y"), or a shorthand like "4h", "48h", "7d", "2w". "anytime" applies no date filter. Unrecognized values are treated as "anytime". When both an explicit date range and time\_range are given, the explicit dates win.
</ParamField>

<ParamField path="include_domains" type="string[]" default={[]}>
  List of domains to constrain results.
</ParamField>

<ParamField path="topic" type="string" default={"general"}>
  "general" (search the whole web — the default) or "news" (articles from news sites). This is the search index, not a subject category: for a topic like finance, jobs, or sports, leave it "general" and put the subject in the query.
</ParamField>
