manage_comment
Edit, delete, resolve, reopen, or convert comments and tasks on Bitbucket pull requests.
Instructions
Manage a comment or task on a pull request (edit, delete, resolve, reopen, convert to task, convert to comment)
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"pullRequestId": "<pullRequestId>",
"commentId": "<commentId>",
"version": "<version>",
"action": "<action>"
},
"name": "manage_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The updated text of the comment (required for 'edit') | |
| action | Yes | The action to perform on the comment or task | |
| version | Yes | The current version of the comment (required by Bitbucket Server for conflict prevention) | |
| repoSlug | Yes | The repository slug | |
| commentId | Yes | The comment/task ID | |
| projectKey | Yes | The project key (e.g., PROJ) | |
| pullRequestId | Yes | The pull request ID |