Update Pull Request Comment
update_pull_request_commentUpdate the content of an existing comment on a Bitbucket pull request by providing the repository slug, pull request ID, comment ID, and new markdown content.
Instructions
Update a comment on a pull request.
Args: repo_slug: Repository slug pull_request_id: Pull request ID comment_id: Comment ID content: New comment content in markdown format workspace: Workspace name (optional, defaults to configured workspace)
Returns: Updated comment details
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_slug": "<repo_slug>",
"pull_request_id": "<pull_request_id>",
"comment_id": "<comment_id>",
"content": "<content>"
},
"name": "update_pull_request_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| repo_slug | Yes | ||
| workspace | No | ||
| comment_id | Yes | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |