list_teams
Lists teams in an Azure DevOps project or across all projects in an organization, with filters for membership and pagination.
Instructions
List teams in a project or across all projects in the organization/collection
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_teams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of teams to return (1-1000, default: 100) | |
| mine | No | If true, return only teams the authenticated user is a member of | |
| skip | No | Number of teams to skip (non-negative integer) | |
| projectId | No | The ID or name of the project to list teams for (defaults to AZURE_DEVOPS_DEFAULT_PROJECT unless allProjects is true; lists org/collection-wide teams when omitted and no default project is configured) | |
| allProjects | No | If true, list teams across all projects in the organization or collection (ignores projectId and AZURE_DEVOPS_DEFAULT_PROJECT) | |
| expandIdentity | No | If true, expand identity information in the returned team objects (supported on Azure DevOps Server 2020+ and Services; automatically omitted when unset, false, or unsupported) | |
| organizationId | No | The ID or name of the organization (defaults to configured organization) |