Get app build status
get_app_buildStatus of an app instance's last build: state (building, ok, failed or unknown), commit, start and finish times, and the tail of the build log (last 6000 characters; on failure it says why). A pod can be up and serving the previous version while a new build fails, so check this, not get_instance_health, after create_instance or update_app. Poll about every 5 seconds until state is ok or failed. Only for instances whose engine is app.
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": {
"id": "<id>"
},
"name": "get_app_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of an instance whose engine is app. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instance id. | |
| next | Yes | Suggested next step for the caller. | |
| state | Yes | Outcome of the last build. A pod can be up and serving the previous version while a new build fails. | |
| commit | Yes | Commit the build used, or null. | |
| logTail | Yes | Last lines of the build log (cut to the final 6000 characters); on failure it says why. | |
| startedAt | Yes | ISO timestamp the build started, or null. | |
| finishedAt | Yes | ISO timestamp the build finished, or null while building. | |
| logTruncated | Yes | True when logTail was cut shorter than the account API sent it. |