You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -873,9 +873,11 @@ The following sets of tools are available:
873
873
874
874
-**add_issue_comment** - Add comment to issue or pull request
875
875
-**Required OAuth Scopes**: `repo`
876
-
-`body`: Comment content (string, required)
877
-
-`issue_number`: Issue number to comment on (number, required)
876
+
-`body`: Comment content. Required unless reaction is provided. (string, optional)
877
+
-`comment_id`: The numeric ID of the issue or pull request comment to react to. Use this for reactions to comments; omit it to react to the issue or pull request itself. Cannot be combined with body. (number, optional)
878
+
-`issue_number`: Issue or pull request number to comment on or react to. (number, required)
878
879
-`owner`: Repository owner (string, required)
880
+
-`reaction`: Emoji reaction to add. Required unless body is provided. (string, optional)
879
881
-`repo`: Repository name (string, required)
880
882
881
883
-**get_label** - Get a specific label from a repository
@@ -1130,10 +1132,11 @@ The following sets of tools are available:
1130
1132
1131
1133
-**add_reply_to_pull_request_comment** - Add reply to pull request comment
1132
1134
-**Required OAuth Scopes**: `repo`
1133
-
-`body`: The text of the reply(string, required)
1134
-
-`commentId`: The ID of the comment to reply to (number, required)
1135
+
-`body`: The text of the reply. Required unless reaction is provided. (string, optional)
1136
+
-`commentId`: The numeric ID of the pull request review comment to reply or react to. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...). (number, required)
1135
1137
-`owner`: Repository owner (string, required)
1136
-
-`pullNumber`: Pull request number (number, required)
1138
+
-`pullNumber`: Pull request number. Required when body is provided. (number, optional)
1139
+
-`reaction`: Emoji reaction to add. Required unless body is provided. (string, optional)
-`comment_id`: The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...). (number, required)
222
+
-`content`: The emoji reaction type (string, required)
223
+
-`owner`: Repository owner (username or organization) (string, required)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/add_issue_comment.snap
+23-5Lines changed: 23 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,40 @@
2
2
"annotations": {
3
3
"title": "Add comment to issue or pull request"
4
4
},
5
-
"description": "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.",
5
+
"description": "Add a comment and/or reaction to a specific issue or issue comment in a GitHub repository. Use this tool with pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add or react to review comments. At least one of body or reaction is required.",
6
6
"inputSchema": {
7
7
"properties": {
8
8
"body": {
9
-
"description": "Comment content",
9
+
"description": "Comment content. Required unless reaction is provided.",
10
10
"type": "string"
11
11
},
12
+
"comment_id": {
13
+
"description": "The numeric ID of the issue or pull request comment to react to. Use this for reactions to comments; omit it to react to the issue or pull request itself. Cannot be combined with body.",
14
+
"minimum": 1,
15
+
"type": "number"
16
+
},
12
17
"issue_number": {
13
-
"description": "Issue number to comment on",
18
+
"description": "Issue or pull request number to comment on or react to.",
14
19
"type": "number"
15
20
},
16
21
"owner": {
17
22
"description": "Repository owner",
18
23
"type": "string"
19
24
},
25
+
"reaction": {
26
+
"description": "Emoji reaction to add. Required unless body is provided.",
"description": "Add a reaction to a pull request review comment.",
8
+
"inputSchema": {
9
+
"properties": {
10
+
"comment_id": {
11
+
"description": "The numeric pull request review comment ID. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...).",
12
+
"minimum": 1,
13
+
"type": "number"
14
+
},
15
+
"content": {
16
+
"description": "The emoji reaction type",
17
+
"enum": [
18
+
"+1",
19
+
"-1",
20
+
"laugh",
21
+
"confused",
22
+
"heart",
23
+
"hooray",
24
+
"rocket",
25
+
"eyes"
26
+
],
27
+
"type": "string"
28
+
},
29
+
"owner": {
30
+
"description": "Repository owner (username or organization)",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/add_reply_to_pull_request_comment.snap
+20-7Lines changed: 20 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,40 @@
2
2
"annotations": {
3
3
"title": "Add reply to pull request comment"
4
4
},
5
-
"description": "Add a reply to an existing pull request comment. This creates a new comment that is linked as a reply to the specified comment.",
5
+
"description": "Add a reply and/or reaction to an existing pull request comment. This can create a new comment linked as a reply to the specified comment, add an emoji reaction to the specified comment, or do both. At least one of body or reaction is required.",
6
6
"inputSchema": {
7
7
"properties": {
8
8
"body": {
9
-
"description": "The text of the reply",
9
+
"description": "The text of the reply. Required unless reaction is provided.",
10
10
"type": "string"
11
11
},
12
12
"commentId": {
13
-
"description": "The ID of the comment to reply to",
13
+
"description": "The numeric ID of the pull request review comment to reply or react to. Use the number from a #discussion_r... anchor, not the GraphQL thread node ID (PRRT_...).",
14
+
"minimum": 1,
14
15
"type": "number"
15
16
},
16
17
"owner": {
17
18
"description": "Repository owner",
18
19
"type": "string"
19
20
},
20
21
"pullNumber": {
21
-
"description": "Pull request number",
22
+
"description": "Pull request number. Required when body is provided.",
22
23
"type": "number"
23
24
},
25
+
"reaction": {
26
+
"description": "Emoji reaction to add. Required unless body is provided.",
0 commit comments