Update model provider config
model_providers_updateUpdate a model provider configuration's connection settings, including credentials, headers, base URL, auth options, and timeouts; omitted fields retain their current values.
Instructions
Updates a model provider config's connection settings, such as its credential and headers, and returns the updated config; omitted fields keep their values. The credential secret is checked to exist and match auth_kind, but the provider isn't contacted, so a credential the provider rejects isn't caught here.
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": {
"modelProviderConfigID": "<modelProviderConfigID>",
"orgID": "<orgID>"
},
"name": "model_providers_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | Organization ID (org_...). | |
| headers | No | Extra HTTP headers sent with every request to this provider. Values are stored and returned as plain text; use secret_headers for keys and tokens. Replaces all headers when provided. | |
| base_url | No | Provider endpoint base URL. | |
| auth_kind | No | How the credential is sent: as a bearer token, in the header named by auth_options.header_name, or signed with AWS SigV4. | |
| auth_options | No | Non-secret authentication settings. Use an empty object with bearer_token. With api_key_header, set {"header_name":"..."}. With sigv4, set the AWS signing service and region. | |
| endpoint_path | No | URL path under base_url. This changes where requests are sent, not which API format Omnara speaks. | |
| secret_headers | No | Extra HTTP headers whose values come from org-owned generic secrets, mapping header names to secret references. Replaces all secret headers when provided. | |
| idle_timeout_ms | No | Maximum wait for response headers or the next response bytes, in milliseconds. Heartbeats count as activity. Local response processing does not consume this idle budget. | |
| request_timeout_ms | No | Total deadline for one provider attempt, including reasoning and response streaming, in milliseconds. Retries have separate deadlines. | |
| credential_secret_id | No | Secret ID (sec_...). | |
| modelProviderConfigID | Yes | Model provider config ID (mpc_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifies this provider config. | |
| name | Yes | Name agent configs use to reference this provider as model.provider_config. | |
| org_id | Yes | Organization that owns this provider config. | |
| headers | Yes | Extra HTTP headers sent with every request to this provider. | |
| base_url | Yes | Provider endpoint base URL. | |
| auth_kind | Yes | How Omnara sends the credential to the provider. | |
| api_format | Yes | Wire protocol Omnara speaks to this provider. | |
| created_at | Yes | When the provider config was created. | |
| updated_at | Yes | When the provider config was last changed. | |
| api_variant | Yes | Provider-specific flavor of the API format. | |
| auth_options | Yes | Non-secret authentication settings for this provider config. | |
| endpoint_path | Yes | Path under base_url that model requests are sent to. | |
| secret_headers | Yes | Extra HTTP headers whose values come from the referenced secrets. | |
| idle_timeout_ms | Yes | Longest wait for response headers or more response data; heartbeats count as activity. | |
| management_kind | Yes | Whether the organization manages this provider or the Omnara installation provisions and manages it. | |
| request_timeout_ms | Yes | Total deadline for one provider attempt, including reasoning and response streaming. | |
| credential_secret_id | Yes | Secret holding the credential Omnara sends to the provider. |