Change model connections and choices
update_ai_settingsConfigure the AI model connections that draft Slatebox slates: add, change, or remove cloud and OpenAI-compatible endpoints, then map features to a connection per user, team, or server.
Instructions
Add, change or remove the model connections the Slatebox agent drafts with, and choose which connection each feature uses.
Set AI. Your own or your team's AI: adds or changes connections (a cloud provider with its key, or any OpenAI-compatible endpoint with its address, optional key and model), removes some, and chooses which connection each feature uses. level me changes yours, team your team's (team admins); level server only turns own AI on or off for everyone (ownProviders, administrators). A choice names me:, team:, or builtin for this server's model (set in Admin → AI control). Keys are stored encrypted and never returned. Returns the settings as ai.get does. A token needs ai:admin as well for level team or server. Own AI is optional, on Slatebox Cloud and self-hosted alike. On Slatebox Cloud requests it serves spend no Slatebox credits, and an address must be public https.
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": {
"level": "<level>"
},
"name": "update_ai_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use | No | Which connection each feature uses. An unset feature follows the one it belongs to (workshop follows chat), and default serves every feature not named. Its full type is long and is in describe, methods ["ai.update"]. | |
| level | Yes | me (yours), team (team admins) or server (administrators). | |
| remove | No | ||
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| connections | No | ||
| ownProviders | No | ||
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |