Add Issue Comment
add_issue_commentAdd a markdown comment to a Bitbucket issue using its ID. Handles errors if the issue tracker is disabled, providing clear feedback.
Instructions
Add a comment to an issue.
Args: repo_slug: Repository slug issue_id: Issue ID content: Comment content in markdown workspace: Workspace name (optional, defaults to configured workspace)
Returns: Created issue comment details. If the repository has no issue tracker, returns {"error": "issue_tracker_disabled", ...}.
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>",
"issue_id": "<issue_id>",
"content": "<content>"
},
"name": "add_issue_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| issue_id | Yes | ||
| repo_slug | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |