manage_commit_comments
Create, edit, or delete comments on a commit in Bitbucket Server to discuss code changes and manage feedback.
Instructions
Manage comments on a commit. Actions: "create" (add a new comment), "edit" (update an existing comment), "delete" (remove a 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": {
"action": "<action>",
"repository": "<repository>",
"commitId": "<commitId>"
},
"name": "manage_commit_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Comment text (required for create and edit). | |
| action | Yes | Operation to perform. | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| version | No | Comment version for optimistic locking (required for edit and delete). | |
| commitId | Yes | Full commit hash. | |
| commentId | No | Comment ID (required for edit and delete). | |
| repository | Yes | Repository slug. |