bitbucket_add_pull_request_file_line_comment
Adds a comment to a Bitbucket pull request, including optional inline comments anchored to a specific file and line.
Instructions
Adds a comment to a Bitbucket pull request, optionally as an inline comment on a specific file and line.
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": {
"workspaceSlug": "<workspaceSlug>",
"repoSlug": "<repoSlug>",
"prId": "<prId>",
"content": "<content>"
},
"name": "bitbucket_add_pull_request_file_line_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Numeric ID of the pull request. | |
| inline | No | Optional details for an inline comment on a specific line in a file. | |
| content | Yes | The text content of the comment. | |
| parentId | No | Optional ID of the parent comment if this is a reply. | |
| repoSlug | Yes | Slug of the gateway. | |
| workspaceSlug | Yes | Slug of the workspace/project. |