Grok Search
OpenClaw supports Grok as aweb_search provider, using xAI web-grounded
responses to produce AI-synthesized answers backed by live search results
with citations.
Get an API key
Create a key
Get an API key from xAI.
Config
XAI_API_KEY in the Gateway environment.
For a gateway install, put it in ~/.openclaw/.env.
How it works
Grok uses xAI web-grounded responses to synthesize answers with inline citations, similar to Gemini’s Google Search grounding approach.Supported parameters
Grok search supports the standardquery and count parameters.
Provider-specific filters are not currently supported.
Related
- Web Search overview — all providers and auto-detection
- Gemini Search — AI-synthesized answers via Google grounding