Get build status
build_statusRetrieves the overall and per-pipeline status of a specific CNB build using its SN so you can check whether the build or any pipeline failed.
Instructions
Get the overall status and per-pipeline status of one build (by SN, e.g. cnb-xxx). SN values come from build_list / build_trigger / npc_dispatch.
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": {
"repo": "<repo>",
"sn": "<sn>"
},
"name": "build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sn | Yes | Build SN | |
| repo | Yes | Repository path, e.g. "owner/repo" or "group/subgroup/repo" |