Change database size
tzcloud_set_database_sizeMove your app's production database to a dedicated size or shared. Call when its owner asks. If no size was chosen, ask. With no answer, change nothing and report. Serverless apps stay shared. Dedicated sizes need a server app. While paused, call to read the reset instant in account_paused's detail. Returns 202 for browser approval. Decline or expiry changes nothing.
Approval starts copy, switch and redeploy. Production stops at freeze until redeploy or revert succeeds. Production deploys and promotes return database_move_in_flight throughout the move, including server creation. Repeat afterward. Development stays shared. Charge is set when the server is ready, before freeze, for this month's days left. A revert keeps the charge. That month's line covers repeats of the size.
A successful read_approval_status outcome confirms the start. Use tzcloud_read_status with wait_seconds for production's database_move.outcome: null while unfinished, then done or reverted.
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": {
"application": "<application>",
"size": "<size>"
},
"name": "tzcloud_set_database_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | The production database size to move to. A dedicated size uses its own server; `database-shared` moves back to the cell's shared server. Development stays shared. | |
| request_id | No | Any string you choose. A repeat from the same account while the earlier pending action is live (requested, approved, or executing) returns it again; once it has ended, it starts a new one. Omitted, every call creates a new one. | |
| application | Yes | Your account's application id from `tzcloud_list_applications`; only its production database moves. |