ollama_create
Creates a custom Ollama model from a Modelfile by specifying the model name and Modelfile path.
Instructions
Create a model from a Modelfile
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>",
"modelfile": "<modelfile>"
},
"name": "ollama_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the model | |
| modelfile | Yes | Path to Modelfile |