set_models_config_api_v1_configs_models_post
Sets the default models, model metadata, parameters, pinned models, and model order list for the OpenWebUI instance.
Instructions
Set Models Config
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": {
"DEFAULT_MODELS": "<DEFAULT_MODELS>",
"DEFAULT_PINNED_MODELS": "<DEFAULT_PINNED_MODELS>",
"MODEL_ORDER_LIST": "<MODEL_ORDER_LIST>"
},
"name": "set_models_config_api_v1_configs_models_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| DEFAULT_MODELS | Yes | ||
| DEFAULT_MODEL_METADATA | No | ||
| DEFAULT_MODEL_PARAMS | No | ||
| DEFAULT_PINNED_MODELS | Yes | ||
| MODEL_ORDER_LIST | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| DEFAULT_MODELS | Yes | ||
| DEFAULT_MODEL_METADATA | No | ||
| DEFAULT_MODEL_PARAMS | No | ||
| DEFAULT_PINNED_MODELS | Yes | ||
| MODEL_ORDER_LIST | Yes |