list_projects
List TeamCity projects with optional filtering by locator or parent project ID, supporting pagination to control result size.
Instructions
List TeamCity projects. 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_projects"
}
}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 locator to filter projects | |
| maxPages | No | Max pages to fetch (when all=true) | |
| pageSize | No | Items per page (default 100) | |
| parentProjectId | No | Filter by parent project ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| pagination | Yes | Pagination metadata describing which slice was returned. |