How to Use Mistral OCR in Any AI Agent
Mistral OCR extracts text and structured content from PDFs and images for document work in ChatGPT. Use it through Spiral to recover tables, request specific invoice fields, or extract selected pages before asking follow-up questions.
Prompts to try with Mistral in any AI agent
Copy an example into your agent, or ask in your own words.
Use Mistral OCR to extract the first three pages of this PDF as Markdown. Return headers and footers separately, then summarize the main points with page references.
Use Mistral OCR on this scanned report and return the tables as HTML. Preserve merged cells and column headers, then list the tables that need a visual check.
Use Mistral OCR to extract the vendor, invoice number, invoice date, currency, subtotal, tax, and total from this invoice as structured JSON. Use null for missing values, then check whether subtotal plus tax equals the total.
Use Mistral OCR to transcribe this document image with word-level confidence scores. Show the extracted text and list the lowest-confidence words for me to review.
Read the invoice PDF I attach with Mistral OCR and give me the line items as a table.
Mistral tools on Spiral
Today's price is in each card, with every fee included.
Use Mistral in your AI agent
Pick your agent for its setup steps and prompts. Each takes about two minutes.
What can you do with Mistral in an AI agent?
Turn a scanned report into review notes
Request Markdown from the relevant pages, with headers and footers returned separately. Then ask for a summary that points back to the extracted pages.
Recover tables for comparison
Request HTML tables when a report contains merged cells or layered headers. Ask ChatGPT to compare the rows you care about, and keep the extracted tables beside the comparison for review.
Pull consistent fields from invoices
Define the fields before extraction: vendor, invoice number, date, currency, tax, and total. Request structured JSON, then ask for an arithmetic check and a list of missing values.
Review uncertain transcriptions
Request word-level confidence scores for a document image. Use the scores to choose which words to inspect against the original.
Extract only the pages that matter
Specify the document pages containing the appendix, table, or section you need. Ask for the extracted content before requesting a summary or comparison.
Separate repeated page furniture
Request headers and footers separately when preparing a report for reading or analysis. Keep them available for reference alongside the main extracted text.
More about Mistral
Questions about Mistral in AI agents
Which AI agents can use Mistral OCR?
Any agent Spiral connects to: Claude, ChatGPT, Gemini, Grok and Perplexity, coding agents such as Cursor, Claude Code and Codex, and workflow tools such as Zapier and n8n. Each agent's guide below shows its setup.
Can Mistral OCR extract tables from PDFs?
Yes. It supports Markdown and HTML table output, including reconstruction of merged cells and layered headers. Ask for HTML when you need to retain those table structures.
Can Mistral OCR return invoice data as JSON?
Yes. Document annotations extract specified information into a predefined JSON format. Name the fields you need and say how missing values should be represented.
Does Mistral OCR provide confidence scores?
Yes. It offers confidence scores at page, word, or block level. Request word-level scores when you want to review individual readings against the original.
Can Mistral OCR separate headers and footers?
Yes. Optional header and footer extraction returns that content in separate parts of the response.
How much does Mistral OCR cost through Spiral?
Each Mistral OCR tool is priced per run, shown before it starts, and paid from one Spiral balance. Each run is charged for its measured usage.
Do I need a Mistral OCR account to use it in an AI agent?
No. Spiral runs Mistral OCR on its own account and charges your Spiral balance, so your agent needs no Mistral OCR key.
How do I set up Mistral OCR in my agent?
Connect Spiral to your agent once (a skill, an MCP server, the CLI or the API), then ask for a Mistral OCR tool by name. Each agent's guide on this page has its exact steps.
Can my agent compare Mistral OCR tools?
Yes. Ask it to run the same request on two Mistral OCR tools and show both results with what each cost.
Start using Mistral in your agent
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into your agent:
set up https://spiral.ai/SKILL.md


