lmstudio_load_model
Load a downloaded model into memory with explicit GPU offload, context length, and KV-cache settings. Omitted options fall back to the model's saved defaults.
Instructions
Load a downloaded model into memory with explicit settings. Omitted settings use LM Studio's saved defaults for that model. For automatic tuning use lmstudio_optimize_settings instead.
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": "lmstudio_load_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model key from lmstudio_list_models (partial names work if unique). | |
| config | No | Load settings. | |
| identifier | No | Name to address this loaded instance by (API 'model' field). Must be unused. | |
| ttl_seconds | No | Unload automatically after this many idle seconds. |