Summary
Add a tool to repository module that integrates with Azure DevOps APIs to enable comparison of branches
Tools
Develop the following tools with full parameter support, including optional ones:
compare_branches: Search Azure DevOps Wikis for relevant content.
Endpoint: GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/diffs/commits?baseVersion={base}&baseVersionType=branch&targetVersion={target}&targetVersionType=branch&api-version=7.1
Rules
- Adhere strictly to existing project standards and coding conventions.
- Ensure each tool exposes all API parameters (required and optional).
- Use the official Azure DevOps Node API to interact with the APIs.
Special treat
If you follow the rules, you'll get candy!
#Existing Example
This project implements a similar functionality to compare_branches as can be done on the ADO web UI.
I intend to use this to generate release notes and get a definitive list of the differences between the main branch and a release branch.
https://github.com/Elad-Health/azure-devops-mcp/blob/main/src/tools/git.ts
Summary
Add a tool to repository module that integrates with Azure DevOps APIs to enable comparison of branches
Tools
Develop the following tools with full parameter support, including optional ones:
compare_branches: Search Azure DevOps Wikis for relevant content.Endpoint: GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/diffs/commits?baseVersion={base}&baseVersionType=branch&targetVersion={target}&targetVersionType=branch&api-version=7.1
Rules
Special treat
If you follow the rules, you'll get candy!
#Existing Example
This project implements a similar functionality to compare_branches as can be done on the ADO web UI.
I intend to use this to generate release notes and get a definitive list of the differences between the main branch and a release branch.
https://github.com/Elad-Health/azure-devops-mcp/blob/main/src/tools/git.ts