ollama_run
Send a prompt to a named local Ollama model to generate a response, with an optional timeout to control how long the request waits.
Instructions
Run a 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": {
"name": "<name>",
"prompt": "<prompt>"
},
"name": "ollama_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the model | |
| prompt | Yes | Prompt to send to the model | |
| timeout | No | Timeout in milliseconds (default: 60000) |