Connect Mistral AI to your AI agent
Mistral AI is a research lab building state-of-the-art open-source language models and providing APIs for developers and enterprises to integrate these models into their applications.
We set up the connection using your own Mistral AI account, with keys you control, and keep it running. Your agent picks it up and starts doing the work.
What your agent can do in Mistral AI
Each one is a real action the agent can take on its own, the same things a person clicking around Mistral AI could do. Read-only by default; write actions are confirmed against your policy.
- Append to conversation Tool to append new entries to an existing conversation in Mistral AI. Use when you need to continue a conversation by adding new messages or inputs. This is a beta endpoint.
- Create Agent Tool to create a new AI agent with custom configuration (Beta). Use when you need to create an agent with specific model, name, instructions, and tools.
- Create Agents Completion Tool to generate completions using a Mistral AI agent with specific instructions and tools. Use when you need an agent to process messages and generate responses. Agents can use tools, follow instructions, and maintain…
- Create Audio Transcription Transcribe audio files to text using Mistral AI's Voxtral models. Use this action to convert speech in audio files to written text. Supports multiple input methods: file upload, file_id from previously uploaded files, o…
- Create Chat Completion Generate conversational responses from Mistral AI models. Supports streaming, function calling, and various model parameters. Use when you need to create chat completions with Mistral AI models for conversation, questio…
- Create Chat Moderation Tool to classify chat content for moderation purposes across 9 categories. Use when you need to detect harmful content, inappropriate messages, or policy violations in chat conversations.
- Create Embeddings Tool to generate vector embeddings for input text using Mistral AI embedding models. Use when you need to convert text into numerical vectors for semantic search, similarity comparison, or RAG applications.
- Create FIM Completion Generate code completions using fill-in-the-middle functionality. Use when you need to complete code between a prefix and suffix, or continue code from a prompt. Ideal for code completion, function implementation, and c…
- Create library Tool to create a new document library. Use when you need to group documents into a new library. Use after confirming authentication.
- Create library share Create or update sharing permissions for a library. Use to grant access to users, workspaces, or organizations. Specify the access level (Viewer or Editor) and the entity to share with. This is a beta endpoint.
- Create Moderation Tool to classify text content for moderation purposes across 9 categories. Use when you need to detect harmful content, inappropriate text, or policy violations in raw text inputs.
- Create OCR Extract text and structured data from images and documents using Mistral AI's OCR capabilities. Supports PDFs, images, tables, headers, footers, and custom structured extraction. Use when you need to digitize documents,…
- Create or Update Agent Alias Tool to create or update an agent version alias. Use when you need to assign a version alias (like 'production' or 'staging') to a specific agent version.
- Delete agent Permanently deletes an agent by its ID (Beta feature). Use this tool when you need to remove an agent that is no longer needed. This operation is irreversible - the agent will be permanently removed from the system.
- Delete Conversation Tool to delete a conversation by its ID (Beta). Use when you need to permanently remove a conversation. This is a beta feature.
- Delete File Delete a file by its ID from Mistral AI. Permanently removes the file and its metadata. Use List Files action first to obtain valid file IDs.
- Delete library Permanently deletes a library and all of its documents from Mistral AI. Use this tool when you need to remove an entire library including all its documents. This operation is irreversible - the library and all its docum…
- Delete library document Permanently deletes a document from a Mistral AI library. Use this tool when you need to remove a specific document from a library. Both library_id and document_id must be valid UUIDs. This operation is irreversible - t…
- Delete library share Remove sharing permissions for a library from a user, workspace, or organization. Use when you need to revoke access to a library that was previously shared. This is a beta feature.
- Download File Download the content of a previously uploaded file from Mistral AI. Returns the raw binary content of the file. Use this when you need to retrieve file data for processing, such as training data files (.jsonl) for fine-…
- Get Agent Tool to retrieve details of a specific Mistral AI agent by its ID. Returns comprehensive agent information including model, instructions, tools, and configuration. Use when you need to inspect or verify an agent's setti…
- Get Agent Version Retrieve a specific version of an agent (Beta). Use when you need to get details about a particular agent version, including its configuration, tools, and metadata.
- Get Conversation Tool to retrieve details of a specific conversation. Use when you need to fetch conversation metadata including timestamps, configuration, and associated model or agent information.
- Get Conversation History Retrieve the full history of a conversation in Mistral AI. Returns all entries including messages, tool calls, function results, and agent handoffs. Use this to review conversation context or export conversation data. N…
- Get Conversation Messages Retrieve all messages from a Mistral AI conversation. Use when you need to fetch the complete message history for a specific conversation.
- Get document extracted text URL Retrieve a signed URL to download the extracted text from a document in a Mistral AI library. This is a beta endpoint. Note: Only documents that undergo OCR processing (such as PDFs) will have extracted text available;…
- Get document signed URL Get a signed URL to download a document from a Mistral AI library. Returns a temporary URL that provides direct access to download the document content. Use this when you need to retrieve document files from a library.…
- Get Document Status Retrieve the processing status of a document in a Mistral AI library. Use this to check if a document has finished processing after upload. Returns the document ID and its current processing status.
- Get Document Text Content Retrieve the extracted text content of a specific document from a Mistral AI library (Beta). Returns the full text content extracted from the document. Use the List Libraries action first to obtain valid library IDs, th…
- Get File Signed URL Get a time-limited signed URL for downloading a file from Mistral AI. Use when you need a temporary download link that can be shared or used externally. The URL expires after the specified number of hours (default 24).
- List Fine Tuning Jobs List fine-tuning jobs with optional filtering and pagination. Use this tool to retrieve all fine-tuning jobs for your organization. Supports filtering by model, status, creation time, and W&B integration. Results are pa…
- Get library Retrieve detailed information about a specific library. Returns complete library metadata including name, description, document counts, size, timestamps, and ownership details. Use List Libraries action first to obtain…
- Get Library Document Retrieve metadata for a specific document in a Mistral AI library. Returns detailed information including processing status, size, summary, token counts, and timestamps. Use this to check document status after upload or…
- Get Model Tool to retrieve detailed information about a specific Mistral AI model by its ID. Returns model metadata including capabilities, context length, and ownership. Use when you need to inspect model specifications before u…
- List agent aliases Retrieve all aliases for an agent version. Use to view and manage version aliases for an agent. Note: This is a beta endpoint.
- List Agents Tool to list all configured agents (Beta). Use when you need to retrieve a list of agents available in your organization.
- List Agent Versions List all versions of a specific agent. Use when you need to view the version history of an agent. Note: This is a beta endpoint.
- List Batch Jobs Tool to retrieve a list of all batch jobs with optional filtering and pagination. Use when you need to view or manage batch processing jobs.
- List Conversations List all created conversations (Beta). Use to retrieve conversation history or manage existing conversations. Supports pagination and metadata filtering.
- List Files Tool to list all files available to the user. Use when you need to view or manage uploaded files, supports pagination.
- List libraries List all document libraries accessible to your organization. Returns library metadata including id, name, description, document counts, and timestamps. Use to discover available libraries before listing or uploading doc…
- List Library Documents List all documents in a Mistral AI document library. Returns document metadata including name, processing status, size, summary, and timestamps. Use the List Libraries action first to obtain valid library IDs. Supports…
- List library shares List all sharing permissions for a document library. Returns details about who has access to the library, including role, share type, and user/organization identifiers. Use the List Libraries action first to obtain vali…
- List Models Tool to retrieve all available Mistral AI models including base models and fine-tuned models. Use when you need to see what models are available for chat completions, embeddings, or fine-tuning.
- Reprocess document Reprocess a document in a Mistral AI library (Beta). Use when you need to trigger reprocessing of a document, such as after updating library settings or to refresh document embeddings. Both library_id and document_id mu…
- Restart Conversation Tool to restart a conversation from a specific point (Beta). Use when you need to branch a conversation or replay it from a particular message. Creates a new conversation starting from the specified entry.
- Retrieve File Retrieve metadata of a file uploaded to Mistral AI. Returns file details including size, filename, purpose, and creation time. Use List Files action first to obtain valid file IDs.
- Start Conversation Tool to start a new conversation with a Mistral AI agent or base model. Use when initiating a conversational interaction that requires context tracking. Either 'model' or 'agent_id' must be provided. Returns a conversat…
- Update Agent Tool to update an existing agent's configuration. Use when you need to modify an agent's name, description, model, instructions, tools, or other settings.
- Update agent version Tool to update the current version of an agent (Beta). Use when you need to switch an agent to a different version from its available versions.
- Update library Tool to update an existing document library's properties. Use when you need to modify a library's name or description. Note: This is a beta endpoint.
- Update library document Update the metadata of a document in a Mistral AI library. Use this to modify a document's name or add/update custom attributes without re-uploading the file content. This is a beta endpoint.
- Upload File Upload a file to Mistral AI for use in fine-tuning, batch processing, or OCR. Use this tool to: - Upload .jsonl files for fine-tuning models - Upload files for batch processing requests - Upload documents for OCR proces…
- Upload Library Document Upload a document to a Mistral AI library for use with RAG-enabled agents. Use this action to add documents to a library that can be accessed by Mistral AI agents. The uploaded document will be processed and indexed for…
How we connect it
- 1
Connect your account
You create a key in Mistral AI, a key you create and control, and paste it in once. It lives in a secrets store on your server, not with us.
- 2
Set the guardrails
Read-only by default. You choose which write actions the agent may take, and anything outside that policy gets confirmed with you first.
- 3
We keep it running
Health checks on every connection, updates handled for you, and we watch the first week of activity to make sure the work lands.
FAQ
Mistral AI questions, answered.
Ready to put Mistral AI to work?
Tell us what your team runs on. We set up the connection, secure it, and your agent takes it from there.
All product names, logos, and brands are property of their respective owners; used for identification only. ZeroToClaw is not affiliated with or endorsed by Mistral AI.