get_repository_details
Retrieve detailed repository information including statistics and refs to analyze branches and track code metrics in Azure DevOps.
Instructions
Get detailed information about a repository including statistics and refs
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repositoryId": "<repositoryId>",
"includeStatistics": "<includeStatistics>",
"includeRefs": "<includeRefs>"
},
"name": "get_repository_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The ID or name of the project (Default: no default project) | |
| refFilter | No | Optional filter for refs (e.g., "heads/" or "tags/") | |
| branchName | No | Name of specific branch to get statistics for (if includeStatistics is true) | |
| includeRefs | Yes | Whether to include repository refs | |
| repositoryId | Yes | The ID or name of the repository | |
| organizationId | No | The ID or name of the organization (Default: example-org) | |
| includeStatistics | Yes | Whether to include branch statistics |