update_issue_comment
Modify GitHub issue comments by specifying repository details, issue number, comment ID, and updated text. Returns the revised comment for verification.
Instructions
Update an issue comment.
Args:
params: Parameters for updating a comment including:
- owner: Repository owner (user or organization)
- repo: Repository name
- issue_number: Issue number containing the comment
- comment_id: Comment ID to update
- body: New comment text
Returns:
Updated comment details from GitHub API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"UpdateIssueCommentParams": {
"description": "Parameters for updating an issue comment.",
"properties": {
"body": {
"description": "New comment text",
"title": "Body",
"type": "string"
},
"comment_id": {
"description": "Comment ID to update",
"title": "Comment Id",
"type": "integer"
},
"issue_number": {
"description": "Issue number containing the comment",
"title": "Issue Number",
"type": "integer"
},
"owner": {
"description": "Repository owner (username or organization)",
"title": "Owner",
"type": "string"
},
"repo": {
"description": "Repository name",
"title": "Repo",
"type": "string"
}
},
"required": [
"owner",
"repo",
"issue_number",
"comment_id",
"body"
],
"title": "UpdateIssueCommentParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/UpdateIssueCommentParams"
}
},
"required": [
"params"
],
"title": "update_issue_commentArguments",
"type": "object"
}