add_pull_request_comment
Add a comment to a Bitbucket pull request by providing repository slug, pull request ID, and Markdown content.
Instructions
Add a comment to 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": {
"repository": "<repository>",
"pull_request_id": "<pull_request_id>",
"content": "<content>"
},
"name": "add_pull_request_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Comment body (Markdown) | |
| repository | Yes | Repository slug (e.g. "my-repo") | |
| pull_request_id | Yes | Pull request ID |