Check a Krate build
build_statusThe state of a Krate build, by its build id: still building, failed, or published. A failed build's answer has Krate's check in its own words: the stage, what went wrong and how to fix it. A published build's answer has the app's link and a browser link that opens it on any device, nothing to install. Needs the person to sign in to Krate.
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": {
"build_id": "<build_id>"
},
"name": "build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_id | Yes | The build id a build answered with |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | How to fix it, in the check's own words | |
| link | No | The app's own link; it opens the newest version | |
| name | No | ||
| stage | No | Where Krate's check stopped, on a failure | |
| app_id | No | ||
| detail | No | What went wrong, in the check's own words | |
| status | Yes | ||
| message | Yes | ||
| build_id | Yes | ||
| browser_link | No | Opens the app in a browser on any device, nothing to install |