aiworkhub_dashboard_model_settings_update
USER WRITE: update one provider, adapter, or model routing switch for the active repository.
Instructions
USER WRITE: update one provider, adapter, or model routing switch for the active repository.
Use this to enable or disable a provider, transport adapter, or specific model leaf; call aiworkhub_dashboard_settings first to read model_policy and its current revision, or use aiworkhub_dashboard_settings_update for repository feature flags. Acquires the model-settings lock, verifies expected_revision, and atomically persists the updated routing configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | optional str model identifier under adapter (default None); omit to toggle the provider or adapter switch. | |
| adapter | No | optional str transport adapter identifier (default None); required when model is specified. | |
| enabled | Yes | bool True to enable or False to disable the selected provider, adapter, or model route. | |
| provider | Yes | str non-empty provider identifier to configure. | |
| expected_revision | Yes | int current model_settings revision; mismatches fail closed and report current_revision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||