Skip to content

[Feature Request] Add git items abstraction and integrate it with pull requestsΒ #444

@Mrnikbobjeff

Description

@Mrnikbobjeff

Summary

Implement one new tool that integrates with Azure DevOps APIs to enable file reading capabilites. We need this to allow the user to review pull request file content for a specific commit hash.

Tools

Develop the following tools with full parameter support, including optional ones:

get_repository_items: Gets a file content in a repository.

Endpoint: GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/items?path={path}&scopePath={scopePath}&recursionLevel={recursionLevel}&includeContentMetadata={includeContentMetadata}&latestProcessedChange={latestProcessedChange}&download={download}&$format={$format}&versionDescriptor.version={versionDescriptor.version}&versionDescriptor.versionOptions={versionDescriptor.versionOptions}&versionDescriptor.versionType={versionDescriptor.versionType}&includeContent={includeContent}&resolveLfs={resolveLfs}&sanitize={sanitize}&api-version=7.2-preview.1

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

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions