wait_for_build
Wait for a build to complete by polling the TeamCity server until it reaches a terminal state such as finished, canceled, or failed, with configurable timeout and poll interval.
Instructions
Wait for a build to reach a terminal state (finished, canceled, failed). Long-running; polls until completion or timeout.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | No | Build ID to wait for | |
| timeout | No | Max seconds to wait (default 600, max 3600) | |
| buildNumber | No | Human build number (requires buildTypeId) | |
| buildTypeId | No | Build configuration ID (required with buildNumber) | |
| includeTests | No | Include test summary in result | |
| pollInterval | No | Seconds between polls (default 15, min 5) | |
| includeProblems | No | Include build problems in result |