Change an AI provider
colliedesk_ai_provider_updateRename a provider, change its models, or change an OpenRouter provider's routing by data policy. A new first model is checked (one billed request) before it is saved. The base URL never changes: a new address is another provider, added with its key, so its features need turning on again. A model a feature uses, or intake's fallback model, cannot be removed (ai_model_in_use). Loosening routing (data_collection deny to allow, zdr true to false) lets customers' data reach more providers: say so to the person you work for first.
Needs: ai_settings:update.
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": {
"provider_id": "<provider_id>"
},
"name": "colliedesk_ai_provider_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| models | No | ||
| routing | No | ||
| provider_id | Yes | From colliedesk_ai_settings_get. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||