ollama_run
Run a prompt with an Ollama model by providing the model name and prompt text, with an optional system prompt for context.
Instructions
Run a prompt with an Ollama model
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>",
"prompt": "<prompt>"
},
"name": "ollama_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name (e.g., qwen2.5-coder:7b) | |
| prompt | Yes | The prompt to send to the model | |
| system | No | Optional system prompt |