list_builds
List TeamCity builds with filtering by project, build type, branch, or status. Supports pagination to control result size.
Instructions
List TeamCity builds. Supports pagination and locator filtering.
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": "list_builds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Fetch all pages up to maxPages | |
| count | No | Deprecated: use pageSize | |
| branch | No | Filter by branch (logical or VCS name) | |
| fields | No | Optional fields selector for server-side projection | |
| status | No | Filter by status | |
| locator | No | Optional build locator to filter builds | |
| maxPages | No | Max pages to fetch (when all=true) | |
| pageSize | No | Items per page (default 100) | |
| projectId | No | Filter by project ID | |
| buildTypeId | No | Filter by build type ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| pagination | Yes | Pagination metadata describing which slice was returned. |