add_model
Add a model configuration to llama.cpp server, specifying model path and optional GPU layers, context size, threads, and metrics endpoint.
Instructions
Add a new model configuration
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": {
"config": "<config>"
},
"name": "add_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full model configuration |