updatePullRequestComment
Edit an existing pull request comment in Bitbucket by updating its markdown content using the repository, pull request, and comment identifiers.
Instructions
Update a comment on a pull request
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>",
"pullRequestId": "<pullRequestId>",
"commentId": "<commentId>",
"content": "<content>"
},
"name": "updatePullRequestComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Updated comment content in markdown format | |
| repoSlug | Yes | Repository slug | |
| commentId | Yes | Comment ID | |
| workspace | No | Bitbucket workspace name | |
| pullRequestId | Yes | Pull request ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Tool-specific result payload | |
| status | Yes | Whether the tool call succeeded | |
| message | Yes | Human-readable status message |