deletePRComment
Delete a pull request comment from a Bitbucket repository by comment ID, with version checking to prevent conflicts. Requires dangerous operations to be enabled.
Instructions
Delete a PR comment (needs BITBUCKET_ENABLE_DANGEROUS=true)
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": {
"repoSlug": "<repoSlug>",
"prId": "<prId>",
"commentId": "<commentId>",
"version": "<version>"
},
"name": "deletePRComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | ||
| version | Yes | ||
| repoSlug | Yes | ||
| commentId | Yes | ||
| projectKey | No |