Web search

fx can search current public information and cite its sources. The selected model decides when to use web_search.

Ask explicitly when you need current information or citations:

$fx ask "Search the web for the latest stable Zig release. Use official sources and cite them."

In the interactive shell, write the same request as a normal prompt.

How it works

fx sends the model's query to Perplexity Search through AI Gateway, then the model answers with source links. Search results are untrusted and cannot override your instructions or permissions.

Choose sources

Include the relevant country, language, date range, or preferred sources in your prompt:

Search the web for the latest stable Zig release. Prefer ziglang.org and cite the relevant pages.

Source preferences guide the search but are not strict domain filters. If you need fx to read an exact public URL, provide it and ask fx to use web_fetch.

web_search and web_fetch

ToolUse it to
web_searchFind current information across the public web.
web_fetchRead one known public URL.

Neither tool signs in, clicks controls, or accesses private pages.

Permissions

web_search is read-only. An allow rule enables it, while ask or deny hides it from the model. See Permissions to configure rules.

Data and privacy

Web search sends the query to the provider and saves the activity in the local session. See Data and privacy and fx usage for privacy and cost details.