Mistral Chat Completion
mistral_chat_completionGenerate Mistral AI chat completions with function calling, vision, and configurable response formats.
Instructions
Generate chat completions using Mistral AI models with function calling and vision support.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"messages": "<messages>"
},
"name": "mistral_chat_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID | mistral-large-latest |
| tools | No | Available tools | |
| top_p | No | Nucleus sampling | |
| messages | Yes | Conversation messages | |
| max_tokens | No | Max tokens | |
| random_seed | No | Random seed | |
| safe_prompt | No | Safety prompt | |
| temperature | No | Sampling temperature | |
| tool_choice | No | Tool choice | |
| response_format | No | Response format | |
| presence_penalty | No | Presence penalty | |
| frequency_penalty | No | Frequency penalty |