llama_start
Launch a local llama-server instance as a child process using a specified GGUF model, with configurable port, context size, GPU layers, and CPU threads.
Instructions
Start llama-server as a child process with the specified 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>"
},
"name": "llama_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Path to GGUF model file | |
| port | No | Port to listen on | |
| ctx_size | No | Context size | |
| n_gpu_layers | No | GPU layers (-1 = all) | |
| threads | No | CPU threads |