Learning resourcesReviewed · Mistral AI

Mistral Websearch guide

Mistral's Websearch guide teaches developers to add web search to AI agents, but its search tools require the Agents or Conversations API. It explains standard and premium search, source references and organization-level domain filtering; pricing and search quality are not established.

Researched 15 Nov 2026

In short.

Mistral's Websearch guide is a tutorial for developers building agents that search the web, but the search tools do not support the Chat Completions API. It provides Python, TypeScript and HTTP examples for agent creation and conversations, explains how answers include source references, and documents filtering that can silently remove results. It supports understanding the integration, while costs, retrieval accuracy, premium verification quality and operational performance remain unknown or unassessed. No code or searches were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://docs.mistral.ai/studio/agents/agent-tools/websearch.md], including both tool descriptions, API compatibility warning, all language examples and sample outputs, response-field explanations and domain-filtering notices. Linked documentation, image assets and websites referenced in sample citations are excluded. No runtime behavior was tested. Pricing, licensing, operational performance and premium verification effectiveness are not established by the page.

The overview

identity

This is Mistral's documentation for its built-in web-search tools, published at [https://docs.mistral.ai/studio/agents/agent-tools/websearch.md]. It teaches how to give an agent access to online information and interpret the resulting answer and references.

The resource is a feature guide with integration examples. It covers web_search and web_search_premium rather than supplying a standalone application or downloadable agent package.

assessment

The guide is useful for developers considering web retrieval within Mistral agents. Its strongest practical details are the tool declaration, conversation request, structured citation output and explicit API compatibility restriction.

It does not establish production readiness, answer accuracy or value for money. A particularly important constraint is that organizational filtering can remove sources without telling the model or caller that results were removed.

users

The intended readers are developers building agents that answer questions about recent information, such as news, weather or sports results. Beginners can follow the request-and-response sequence; experienced developers get concrete method names, response entry types and reference fields.

Organization administrators are the audience for the domain-filtering controls. Teams using only the Chat Completions API would need to adopt a supported API to use these particular tools.

capabilities

web_search provides search-engine access. web_search_premium adds access to news articles through what the guide describes as integrated news-provider verification. The page does not explain what that verification checks or establish its effectiveness.

Answers can contain source references with a title, URL, tool name and source field. Organization administrators can allow or block domains before search results reach the model, including searches performed within web_search_premium.

The model decides whether to search when the tool is available. Adding the tool therefore does not guarantee that every request will trigger retrieval.

Using it

requirements

The tools require the Agents API or Conversations API at /v1/conversations. They are unsupported in /v1/chat/completions because Chat Completions responses do not include the search-result references these tools return.

The HTTP examples require a Mistral API key. The SDK examples assume an initialized client and use beta agent and conversation methods, but the page does not provide client initialization, minimum SDK versions or runtime requirements.

The examples use mistral-medium-latest. The guide broadly describes availability across Mistral models, but supplies no model-by-model compatibility table. Changing organization-wide domain lists requires an Organization administrator.

mechanism

An agent is created with web_search in its tools list. A conversation then addresses that agent by its identifier. If the model invokes search, the response can include a tool.execution entry followed by a message.output entry.

The message content is an ordered collection of text and tool_reference chunks. Applications presenting the answer need to handle both kinds of content to preserve the connection between the generated text and its cited sources.

Domain filtering happens before results reach the agent. Removed results have no accompanying removal notice; if every result is filtered out, search returns nothing. The same domain lists apply to open_url, where blocked requests receive a 451 response.

setup

The documented sequence starts by calling client.beta.agents.create with a model, agent instructions and a tools list containing an entry whose type is web_search. The HTTP equivalent posts the agent definition to [https://api.mistral.ai/v1/agents]. Save the returned agent identifier.

Start a conversation with client.beta.conversations.start, passing the agent identifier and the user's question. The HTTP equivalent posts inputs and agent_id to [https://api.mistral.ai/v1/conversations]. Inspect the returned outputs for answer text and reference chunks.

The page also names web_search_premium, but its worked examples demonstrate web_search. Organization domain-list configuration is delegated to a linked administration guide whose contents are outside this page.

example

The documentation illustrates asking an agent who won the most recent European Football Cup. Its sample response reports Spain's Euro 2024 victory and interleaves the answer with three source references.

This example demonstrates the expected output structure: a search execution record followed by answer text and citation objects. It is a documentation example dated May 2025, not evidence of a current sports answer or a search performed for this report.

Assessment & evidence

limitations

The integration is unavailable through Chat Completions, and search is discretionary when enabled on an agent. The page provides no guarantee that a particular question will trigger search or receive complete citation coverage.

Silent filtering limits how an empty result can be interpreted: it may reflect organization restrictions rather than an absence of relevant information online. Premium provider verification is insufficiently described to infer independent fact-checking of generated answers.

Search accuracy, latency, reliability, rate limits, website coverage, data handling and behavior when external pages contain adversarial instructions are not assessed by this evidence.

reasoning

Retrieving sources during a conversation provides a way to answer questions beyond a model's training data. That explains the feature's potential usefulness for recent information, but does not establish a measured improvement in accuracy.

The documented behavior suggests that fit depends on three things: willingness to use the supported APIs, an application that preserves source references, and domain settings that permit relevant results. Enabling search alone does not establish that answers will be current, complete or correct.

alternatives

The page's directly documented choices are web_search for search-engine access and web_search_premium for search plus news-article access through provider verification. It supplies no comparative prices, benchmarks or decision criteria beyond that capability difference.

The page also identifies Document Library as another tool that produces references. Its capabilities and suitability are not explained sufficiently here for a comparison. External products are not assessed.

evidence

The evidence is the complete documentation page at [https://docs.mistral.ai/studio/agents/agent-tools/websearch.md], captured on 15 November 2026 at 03:47:51.927 UTC. The captured source has SHA-256 f73d3dab3d9d855f0d801bdc2b504aefc0ff00ea0bbaeb03b13d43b61379dec8.

It contains vendor explanations, Python and TypeScript snippets, HTTP requests, sample JSON responses and a domain-filtering notice. These establish documented interfaces and described behavior. No code, API calls or searches were executed, and the websites cited by the sample answer were not independently assessed.

Access & freshness

costs

Costs are unknown. The page gives no prices, free allowance, plan requirements or price comparison between standard and premium search.

The example records prompt tokens, completion tokens, connector_tokens and one web_search invocation. It does not explain how those usage fields translate into charges, so they cannot support a per-query cost estimate or a claim about typical consumption.

rights

The page supplies no licence or terms establishing redistribution rights for the documentation, sample code or retrieved material. Commercial-use permissions and rights to store or republish search results and news articles are unknown from this evidence.

Source references identify where information came from; the page does not establish that those references grant reuse permission.

freshness

The capture date identifies the documentation snapshot available for this report. The page supplies no publication date or revision history. Timestamps from 27 May 2025 belong to example API objects and do not establish when the documentation was last updated.

The model identifier mistral-medium-latest does not specify a fixed model release in this page, and no SDK version is supplied. Compatibility and behavior beyond the captured documentation remain unverified.

actions

Before integration, confirm current API access, SDK requirements and pricing, and ask the Organization administrator whether domain lists constrain the intended sources.

For an initial implementation, follow the documented web_search agent-creation and conversation sequence, and retain tool_reference chunks when displaying answers. Evaluate representative questions to establish when search occurs, whether citations support the answer and how filtering affects coverage.

Consider web_search_premium when news-article access is relevant, after obtaining its pricing and an explanation of provider verification. Review applicable service terms and content rights before storing or republishing retrieved material.

Evidence for this report

selected-page.txtselected · checked 2026-11-15