@tiberriver256/mcp-server-azure-devops
Version:
Azure DevOps reference server for the Model Context Protocol (MCP)
14 lines (13 loc) • 674 B
TypeScript
import { WebApi } from 'azure-devops-node-api';
import { AddPullRequestCommentOptions, AddCommentResponse } 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<AddCommentResponse>;