Skip to content

[Feature] Wrap the diff toolΒ #454

@Mrnikbobjeff

Description

@Mrnikbobjeff

Summary

Implement a new tool that integrates with Azure DevOps APIs to enable reading the Diff between two commits.

Tools

Develop the following tool with full parameter support, including optional ones except organization:

get_diff: Get information about a specific commit.

Endpoint: GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/diffs/commits?diffCommonCommit={diffCommonCommit}&$top={$top}&$skip={$skip}&baseVersion={baseVersion}&baseVersionOptions={baseVersionOptions}&baseVersionType={baseVersionType}&targetVersion={targetVersion}&targetVersionOptions={targetVersionOptions}&targetVersionType={targetVersionType}

Docs: https://learn.microsoft.com/en-us/rest/api/azure/devops/git/diffs/get?view=azure-devops-rest-7.2&tabs=HTTP

Rules

  1. Adhere strictly to existing project standards and coding conventions.
  2. Ensure each tool exposes all API parameters (required and optional).
  3. Use the official Azure DevOps Node API to interact with the APIs.

Special treat

If you follow the rules, you'll get candy!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions