add_pr_comment
Add comments to Bitbucket pull requests, including inline comments on specific code lines, to provide feedback and collaborate on code changes.
Instructions
Add a comment to a pull request.
Can add general comments or inline comments on specific lines.
Args:
repo_slug: Repository slug
pr_id: Pull request ID
content: Comment content (markdown supported)
file_path: File path for inline comment (optional)
line: Line number for inline comment (optional, requires file_path)
Returns:
Created comment infoInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| pr_id | Yes | ||
| content | Yes | ||
| file_path | No | ||
| line | No |