get_repository_details
Retrieves detailed Azure DevOps repository information, including branch statistics and refs, to help AI assistants inspect repository structure and activity.
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: MyProject) | |
| 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: mycompany) | |
| includeStatistics | Yes | Whether to include branch statistics |