UNPKG

@tiberriver256/mcp-server-azure-devops

Version:

Azure DevOps reference server for the Model Context Protocol (MCP)

18 lines (17 loc) 806 B
import { WebApi } from 'azure-devops-node-api'; import { Comment, GitPullRequestCommentThread } from 'azure-devops-node-api/interfaces/GitInterfaces'; import { AddPullRequestCommentOptions } from '../types'; /** * Add a comment to a pull request * * @param connection The Azure DevOps WebApi connection * @param projectId The ID or name of the project * @param repositoryId The ID or name of the repository * @param pullRequestId The ID of the pull request * @param options Options for adding the comment * @returns The created comment or thread */ export declare function addPullRequestComment(connection: WebApi, projectId: string, repositoryId: string, pullRequestId: number, options: AddPullRequestCommentOptions): Promise<{ comment: Comment; thread?: GitPullRequestCommentThread; }>;