azure-devops MCP Server

create_pull_request_comment

Add comments to pull requests, including file-specific or line-specific feedback, and manage thread statuses for effective collaboration in Azure DevOps.

Instructions

Add a comment to a pull request

Input Schema

NameRequiredDescriptionDefault
contentYesComment content
filePathNoFile path for file-specific comments (optional)
lineNumberNoLine number for line-specific comments (optional)
pullRequestIdYesID of the pull request
statusNoThread status (optional)
threadIdNoThread ID for replies (optional)

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Comment content", "type": "string" }, "filePath": { "description": "File path for file-specific comments (optional)", "type": "string" }, "lineNumber": { "description": "Line number for line-specific comments (optional)", "type": "number" }, "pullRequestId": { "description": "ID of the pull request", "type": "number" }, "status": { "description": "Thread status (optional)", "enum": [ "active", "fixed", "pending", "wontfix", "closed" ], "type": "string" }, "threadId": { "description": "Thread ID for replies (optional)", "type": "number" } }, "required": [ "pullRequestId", "content" ], "type": "object" }

You must be authenticated.

Other Tools from azure-devops MCP Server

Related Tools

ID: 3obli4updg