Update configured model
models_updateUpdate a configured model's settings while preserving omitted fields; agents using the model pick up changes on their next model call.
Instructions
Updates a configured model's settings and returns the updated model; omitted fields keep their values. Agents already using the model pick up the change on their next model call. The update isn't checked against project grants or agent configs, so lowering a limit below their overrides or turning off tools or reasoning they rely on makes those agents' next model call fail.
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": {
"configuredModelID": "<configuredModelID>",
"modelProviderConfigID": "<modelProviderConfigID>",
"orgID": "<orgID>"
},
"name": "models_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | User-assigned configured model name used by agent YAML as model.name. Renaming affects future YAML resolution but does not change existing agents. | |
| orgID | Yes | Organization ID (org_...). | |
| supports_tools | No | Whether this configured model can receive tool definitions and emit tool calls. Agent configs with enabled tools are rejected when this is false. Omitted keeps the current value. | |
| input_modalities | No | Input types this configured model accepts. Omnara recognizes text, image, file, and audio; an empty list leaves capabilities unspecified. | |
| configuredModelID | Yes | Configured model ID (mdl_...). | |
| max_output_tokens | No | Known output-token ceiling for this model. Omitted keeps the current value. Null clears it to unknown for every API format. | |
| output_modalities | No | Output types this configured model can return. Omnara currently consumes text output. | |
| supports_reasoning | No | Whether Omnara should use this model's reasoning features. For OpenAI Responses, this also enables encrypted reasoning replay for stateless calls. Omitted keeps the current value. | |
| api_variant_options | No | Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter `provider` routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, output-token limit, and selected reasoning policy. Provider passthrough values for those fields are ignored. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters. Omnara-managed OpenRouter providers accept only sampling, reasoning, and per-model routing options here. | |
| provider_model_slug | No | Exact provider model slug sent to the provider endpoint. Free-pool, `:online`, and preset model ids are not accepted on Omnara-managed OpenRouter providers. | |
| context_window_tokens | No | Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit. | |
| modelProviderConfigID | Yes | Model provider config ID (mpc_...). | |
| default_cache_retention | No | Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own. | |
| default_reasoning_effort | No | Reasoning effort sent by default, such as low, medium, or high. Requires supports_reasoning; must be listed in supported_reasoning_efforts when that is set. | |
| default_max_output_tokens | No | Optional per-request output allowance unless a project or agent overrides it. Without a default or known ceiling, Messages uses 64000 tokens; other formats omit the allowance. | |
| supported_reasoning_efforts | No | Reasoning effort values this configured model accepts. Requires supports_reasoning=true when non-empty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | User-assigned configured model name used by agent YAML as model.name. | |
| org_id | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| supports_tools | Yes | Whether this configured model can receive tool definitions and emit tool calls. | |
| management_kind | Yes | ||
| input_modalities | Yes | Input types this configured model accepts. Omnara recognizes text, image, file, and audio; an empty list leaves capabilities unspecified. | |
| max_output_tokens | Yes | Known output-token ceiling for this model, or null when unknown. | |
| output_modalities | Yes | Output types this configured model can return. | |
| supports_reasoning | Yes | Whether Omnara should use this model's reasoning features. | |
| api_variant_options | Yes | ||
| current_revision_id | Yes | ||
| provider_model_slug | Yes | Exact provider model slug sent to the provider endpoint by the current revision. | |
| revision_created_at | Yes | ||
| context_window_tokens | Yes | Context budget for input and output tokens. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit. | |
| default_cache_retention | No | ||
| default_reasoning_effort | Yes | Default reasoning effort to send for models/API formats that support effort-style reasoning controls. | |
| model_provider_config_id | Yes | ||
| default_max_output_tokens | No | Default per-request output-token cap sent to the provider unless an agent config overrides it. | |
| supported_reasoning_efforts | Yes | Reasoning effort values this configured model accepts. |