mistral-ai-automationlisted
Install: claude install-skill ComposioHQ/awesome-claude-skills
# Mistral AI Automation
Automate your Mistral AI workflows -- upload files for fine-tuning, batch processing, and OCR, manage document libraries for RAG-enabled agents, list and retrieve files, track fine-tuning jobs, and integrate Mistral AI into cross-app data pipelines.
**Toolkit docs:** [composio.dev/toolkits/mistral_ai](https://composio.dev/toolkits/mistral_ai)
---
## Setup
1. Add the Composio MCP server to your client: `https://rube.app/mcp`
2. Connect your Mistral AI account when prompted (API key authentication)
3. Start using the workflows below
---
## Core Workflows
### 1. Upload Files to Mistral AI
Use `MISTRAL_AI_UPLOAD_FILE` to upload files for fine-tuning, batch processing, or OCR.
```
Tool: MISTRAL_AI_UPLOAD_FILE
Inputs:
- file: object (required)
- name: string -- destination filename (e.g., "training_data.jsonl")
- mimetype: string -- MIME type (e.g., "application/pdf", "application/jsonl")
- s3key: string -- S3 key of a previously downloaded/stored file
- purpose: "fine-tune" | "batch" | "ocr" (default "fine-tune")
```
**Limits:** Maximum file size is 512 MB. For fine-tuning, only `.jsonl` files are supported.
### 2. List and Retrieve Files
Use `MISTRAL_AI_LIST_FILES` to browse uploaded files with pagination, and `MISTRAL_AI_RETRIEVE_FILE` to get metadata for a specific file.
```
Tool: MISTRAL_AI_LIST_FILES
Inputs:
- limit: integer (optional, min 1)
- after: string (file ID cursor for next page)
- order: "asc" | "desc" (def