comment_on_pr
Add a general comment to a pull request by supplying the PR ID and comment body. Optionally specify workspace and repository to target the correct Bitbucket project.
Instructions
Add a general comment to a pull request.
Args: pr_id: PR ID number body: Comment text (markdown supported) workspace: Workspace slug repo: Repository slug
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": {
"pr_id": "<pr_id>",
"body": "<body>"
},
"name": "comment_on_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| repo | No | ||
| pr_id | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |