Skip to content

Grok web search with cited sources

Grok searches and reads the web server-side, restricted to or excluding chosen domains, understands images on request, and answers with citations. Needs query.

Inputs

1 required
Query
The question or task for GrokRequired · query
Instructions
System instructions: tone, format, language, what to focus onOptional · instructions
Model
Grok-4.3 is the cheapest (1M context); grok-4.7 is xAI's most capable model; grok-4.6 costs the same as grok-4.7 (grok-4.3, grok-4.7 or grok-4.6)Optional · model
Max output tokens
Cap on answer plus reasoning tokens, sent to xAIOptional · max_output_tokens
Max turns
Cap on agentic search turns, sent to xAI (one search per turn)Optional · max_turns
Allowed domains
Only these domains (max 5)Optional · allowed_domains
Excluded domains
Never these domains (max 5)Optional · excluded_domains
Enable image understanding
Let Grok look at images on pages (more tokens)Optional · enable_image_understanding

Pricing

Price
Usage based, at the cost the provider reports for the call
Billing
Billed at the cost the provider reports for the call, never above $5. Your agent sees the maximum before running.
Price checked
8 October 2026

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Web search for agents

Playbooks that use it

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.