Tools
Mistral Parser
Extract text from PDF documents
Usage Instructions
Integrate Mistral Parse into the workflow. Can extract text from uploaded PDF documents, or from a URL.
Tools
mistral_parser
Parse PDF documents using Mistral OCR API
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
filePath | string | Yes | URL to a PDF document to be processed |
resultType | string | No | Type of parsed result (markdown, text, or json). Defaults to markdown. |
pages | array | No | Specific pages to process (array of page numbers, starting from 0) |
apiKey | string | No | Mistral API key (MISTRAL_API_KEY) - required unless provider is azure-mistral |
provider | string | No | OCR provider to use: "mistral" (default) or "azure-mistral" |
azureEndpoint | string | No | Full Azure OCR endpoint URL - required when provider is azure-mistral |
azureApiKey | string | No | Azure AI Foundry API key - required when provider is azure-mistral |
azureModelName | string | No | Azure OCR deployment name - required when provider is azure-mistral |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Whether the PDF was parsed successfully |
content | string | Extracted content in the requested format (markdown, text, or JSON) |
metadata | object | Processing metadata including jobId, fileType, pageCount, and usage info |
Notes
- Category:
tools - Type:
mistral_parse