Update a database
update_databaseAny of: the name; the weekly maintenance window (day 0 = Sunday, start hour, Montréal time, 2 hours long; minor updates, usually under 2 minutes of downtime); the disk cap (the disk grows by itself at 80 % full, up to the cap; disk beyond what the size includes is billed per GB); on Valkey, the eviction policy. Scope: databases.write.
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": {
"database": "<database>"
},
"name": "update_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name; the connection host does not change. | |
| database | Yes | Database id, as returned by list_databases or create_database. | |
| disk_cap_gb | No | Largest size in GB the disk may grow to by itself; disk beyond what the size includes is billed per GB. | |
| eviction_policy | No | Valkey only: what happens when data memory is full. noeviction (default) refuses writes; allkeys-lru removes the least used keys, for a cache. | |
| maintenance_day | No | Day of the weekly maintenance window: 0 is Sunday, 6 is Saturday. | |
| maintenance_hour | No | Hour the 2-hour window starts, 0 to 23, Montréal time. |