Mistral multimodal chat (vision)
mistral_visionSend text and images to a vision-capable Mistral model for chat completion. Use it to analyze images or extract details from visual content.
Instructions
Chat completion with multimodal input: text + image_url parts.
Requires a vision-capable model. Accepted:
pixtral-large-latest
pixtral-12b-latest
mistral-large-latest
mistral-medium-latest
mistral-small-latest
Each message's content is either a plain string (pure text) or an array of
parts { type: 'text', text } / { type: 'image_url', imageUrl }. The image URL
can be an https URL or a data: URI base64 payload.
Returns the assistant text + token usage. For non-visual requests, prefer mistral_chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed for deterministic sampling. Maps to Mistral's `random_seed`. | |
| model | No | Vision-capable Mistral model. Default: pixtral-large-latest. | |
| top_p | No | Nucleus sampling probability mass: 0.1 considers tokens in the top 10% of probability mass. Prefer adjusting this or temperature, not both. | |
| messages | Yes | Chat messages. Pure-text requests are accepted, but this tool is intended primarily for multimodal prompts containing image parts. | |
| max_tokens | No | Maximum number of tokens to generate. Input tokens plus this limit must fit within the model's context length. | |
| temperature | No | Sampling temperature: higher values make output more random; lower values make it more focused. Prefer adjusting this or top_p, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | Yes | ||
| usage | No | ||
| finish_reason | No |