updatePullRequestComment
Update an existing pull request comment by specifying the repository, pull request number, comment ID, and new content.
Instructions
Edit a discussion comment on 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": {
"owner": "<owner>",
"repo": "<repo>",
"pull_number": "<pull_number>",
"comment_id": "<comment_id>",
"content": "<content>"
},
"name": "updatePullRequestComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| content | Yes | New comment content | |
| comment_id | Yes | Comment id | |
| pull_number | Yes | Pull request number |