load_model
Load a specified model into LM Studio memory for inference. Optionally set context length and batch size.
Instructions
Load a model into memory in LM Studio
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": "load_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The model key to load (e.g., 'llama-3.2-3b-instruct') | |
| identifier | No | Custom identifier for the loaded model instance | |
| contextLength | No | Context window size in tokens | |
| evalBatchSize | No | Number of tokens to process together in a batch |