add_inline_comment
Add inline comments to specific code lines in Bitbucket pull requests to provide feedback or ask questions during code review.
Instructions
Add an inline comment on a specific line of code in a Pull Request.
Args: repo_slug: Repository slug (name) pr_id: Pull Request ID file_path: Path to the file to comment on line: Line number to comment on content: Comment text (supports markdown) workspace: Bitbucket workspace (optional if configured)
Returns: Comment details or error message
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": {
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>",
"file_path": "<file_path>",
"line": "<line>",
"content": "<content>"
},
"name": "add_inline_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| pr_id | Yes | ||
| file_path | Yes | ||
| line | Yes | ||
| content | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||