Clear development database
tzcloud_clear_development_databaseClear your application's development database: drop every table and row and create it again empty under the same role. It cannot be undone. The development credential and environment-file connection string keep working. Production's database is never cleared. Give a person approval_url to approve in a browser. Read read_approval_status until it ends. Rebuild only on completed. After completion, restart development to re-run the serving version's migrations. Deploy development for edited migration files. On one environment, restart your local run. A development deploy or restart in flight when approved fails the clear as deploy_in_flight, clearing nothing.
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>",
"environment": "<environment>"
},
"name": "tzcloud_clear_development_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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`, not its name or label. | |
| environment | Yes | `development` alone; `production` is refused `invalid_request`, because no action clears production's database. |