ollama_chat
Run multi-turn chat conversations with local Ollama models, supporting text and image inputs for vision-based analysis.
Instructions
Have a multi-turn chat conversation with an Ollama model. Supports vision models (llava, llama3.2-vision, deepseek-ocr) with image input.
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": {
"model": "<model>",
"messages": "<messages>"
},
"name": "ollama_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The model to use (e.g., 'llama3.2', 'codellama', 'mistral', 'llava', 'deepseek-ocr') | |
| messages | Yes | Array of chat messages | |
| temperature | No | Temperature for generation (0.0-2.0, default: 0.8) |