Get build status
get_build_statusCheck a build job status with efficient long-polling, returning diagnostics, probable causes, and suggested fixes.
Instructions
Check a build job started by run_build. Long-polls up to waitSeconds (default 25) so you can wait efficiently; on completion returns structured diagnostics with probable causes and suggested fixes.
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": {
"jobId": "<jobId>"
},
"name": "get_build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| waitSeconds | No | Long-poll budget (default 25) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| logPath | Yes | ||
| logTail | No | Last lines of the log — only when no signature matched a failure | |
| exitCode | No | ||
| elapsedMs | Yes | ||
| errorCount | No | ||
| diagnostics | No | ||
| artifactPath | No | ||
| logSizeBytes | No | ||
| warningCount | No |