list_agents
Retrieve and filter build agents from TeamCity with pagination support, enabling efficient management of CI/CD infrastructure.
Instructions
List build agents (supports pagination)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Fetch all pages up to maxPages | |
| fields | No | Optional fields selector for server-side projection | |
| locator | No | Optional agent locator to filter | |
| maxPages | No | Max pages to fetch (when all=true) | |
| pageSize | No | Items per page (default 100) |
Input Schema (JSON Schema)
{
"properties": {
"all": {
"description": "Fetch all pages up to maxPages",
"type": "boolean"
},
"fields": {
"description": "Optional fields selector for server-side projection",
"type": "string"
},
"locator": {
"description": "Optional agent locator to filter",
"type": "string"
},
"maxPages": {
"description": "Max pages to fetch (when all=true)",
"type": "number"
},
"pageSize": {
"description": "Items per page (default 100)",
"type": "number"
}
},
"type": "object"
}