What it does
This tool lets a Grok agent look up current information on the web while it responds. It uses xAI’s nativeweb_search tool, which is built into the Grok model family — no separate MCP server is required.
Requirements
xAI Web Search is only available when your agent is configured to use an xAI (Grok) model. When your agent uses a different model provider (OpenAI, Anthropic, Google, etc.) use GPT Search or Google Search instead.Adding the tool to an agent
- Open an agent in the editor.
- Make sure the agent’s model is set to an xAI Grok model.
- Click the button with the tooltip Add MCP Tool or Sub Agent.
- In MCP Tools, click xAI Web Search.
Configuration
xAI Web Search does not have any configuration fields in the settings sheet. The search is handled natively by the Grok model.Use cases
- Look up current events or recent news using a Grok agent.
- Check live web sources before the agent answers a question.
- Enrich agent responses with up-to-date information from the public web.
Notes
- This tool is powered by xAI’s native
web_searchcapability, not an external MCP server. It is automatically available when an xAI model is selected. - Use Chat in the editor to see when the agent calls xAI Web Search during a test run. See Testing with Chat.
- To add or remove tools from an agent, see Creating and Configuring.

