mistral_chat_completion
Send a prompt or messages to Mistral AI models and receive chat completions. Customize model, temperature, and token limits for controlled outputs.
Instructions
Run a chat completion with a Mistral AI model (mistral-small, mistral-medium, mistral-large, etc.).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mistral_chat_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID (default: mistral-small-latest) | |
| top_p | No | ||
| prompt | No | Single user message (alternative to messages) | |
| api_key | No | Mistral API key | |
| messages | No | JSON array of {role, content} messages | |
| max_tokens | No | ||
| temperature | No | ||
| system_prompt | No |