Read app status
tzcloud_read_statusRead your application's record after an act or lost answer, before repeating it. Use tzcloud_list_versions for history and tzcloud_read_logs for lines. Each environments entry has a tzcloud_list_applications state. The first state that applies wins. deleting comes first, then halted, then deploying (a deploy, promote or restart runs). Next is deployed (a version serves), then failed (none serves and the latest failed), then never_deployed.
With wait_seconds (1 to 45), wait until no version row, upload or database move is in flight. settled: false means still in flight, not failed. At each deploy wait, tell your user the live step and time since step_started_at. Omit brief for build_progress. Say done only when your version serves and its deploy succeeded. A server holds one wait per application. A second for that application on that server returns at once, including waits in tzcloud_deploy or tzcloud_promote. Its settled comes from its own read.
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>"
},
"name": "tzcloud_read_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | No | True keeps `contract_version`, `reference`, `summary`, shortened `application`, its `environments` each cut to whether it is up and its deploy member, `tables` where asked; no `timings` or database rows. Absent or false, the whole answer. That includes `dashboard`. Other values: `invalid_request`. | |
| tables | No | Where true, the database's table names are read under the platform's own connection and returned as `tables`; the read opens the application's database, so it runs on request alone. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| environment | No | `development` or `production` (default) for the top-level members; another value is refused `invalid_request`, and naming `development` on an application without it is refused `environment_not_created`. The `environments` object holds every environment either way. | |
| wait_seconds | No | Optional: seconds to wait until no version row, upload or database move is in flight; out of range draws `invalid_request`. |