update_pull_request_comment
Update an existing pull request comment with new text. Uses version for optimistic locking to prevent conflicts.
Instructions
Update the text of a comment on a pull request.
Args: project_key: The project key. repo_slug: The repository slug. pr_id: The pull request ID. comment_id: The comment ID to update. version: Current version of the comment (required for optimistic locking). text: The new comment text.
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": {
"project_key": "<project_key>",
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>",
"comment_id": "<comment_id>",
"version": "<version>",
"text": "<text>"
},
"name": "update_pull_request_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| pr_id | Yes | ||
| comment_id | Yes | ||
| version | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |