add_pull_request_comment
Add a comment to an Azure DevOps pull request. Reply to existing threads or create new ones on specific file lines with optional status tags like 'fixed' or 'wontFix'.
Instructions
Add a comment to a pull request (repositoryId optional; derived from pullRequestId when omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The ID or name of the project (Default: MyProject) | |
| organizationId | No | The ID or name of the organization (Default: mycompany) | |
| repositoryId | No | The ID or name of the repository (optional; derived from pullRequestId when omitted) | |
| pullRequestId | Yes | The ID of the pull request | |
| content | Yes | The content of the comment in markdown | |
| threadId | No | The ID of the thread to add the comment to | |
| parentCommentId | No | ID of the parent comment when replying to an existing comment | |
| filePath | No | The path of the file to comment on (for new thread on file) | |
| lineNumber | No | The line number to comment on (for new thread on file) | |
| status | No | The status to set for a new thread |