Get a build
get_buildRead one build's status, template, and current step via build ID. Use it after completion to find which step failed; account-wide key required.
Instructions
What became of one build, which template it was for, and which step it is on. Reads once and returns; watch_build is what follows a running one. It stays readable after the build has finished, so this is also how you find out which step failed on a build nobody was watching. Needs an account-wide key: a key confined to a workspace is refused (403).
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": "get_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build_id | Yes | The id build_template returned. |