Get an Image Build Status and Log
get_image_buildRead a build started by build_image: its status, its progress events, and its log. Statuses are queued and building (still running), pushed (done), and failed. The log comes back automatically when the build failed, since that is where the cause is; pass includeLog to see it otherwise. Pass waitSeconds to wait on the server until the build finishes.
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": {
"buildId": "<buildId>"
},
"name": "get_image_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization slug. | |
| buildId | Yes | The `buildId` build_image returned. Never construct one. | |
| logOffset | No | Opaque resume cursor. Echo back `nextLogOffset` from the previous response so each read returns only NEW output. Never compute, guess or add to this number. Omit to read from the start. | |
| includeLog | No | Omit for the default: the build log is returned only when the build FAILED, where it is the diagnosis. Set true to also read it while building or after success — it is large, so only when the user asked to see it. | |
| maxLogLines | No | Cap on log lines returned (default 80); the newest are kept. | |
| waitSeconds | No | Seconds to wait on the server until the build is pushed or failed, 0 to 45. The call returns as soon as it is, or with the latest state when the time runs out. Use this instead of calling again and again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | The full result. Read this, not only the summary. | |
| details | No | ||
| summary | Yes | ||
| nextSteps | No |