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)
-`confidence`: How confident you are in this choice. Use 'HIGH' for clear signal or explicit user request, 'MEDIUM' for reasonable inference with some ambiguity, 'LOW' for best guess with limited signal. (string, optional)
182
+
-`duplicate_of`: The issue number of the canonical issue this issue duplicates. Only valid when state_reason is 'duplicate'. Required when is_suggestion is true and state_reason is 'duplicate'. The issue number is resolved to a database ID before being sent to the API. (number, optional)
183
+
-`is_suggestion`: If true, this state change is sent to the API as a suggestion (suggest:true) rather than an applied change. Whether the change is applied or recorded as a proposal is determined by the API. (boolean, optional)
167
184
-`issue_number`: The issue number to update (number, required)
168
185
-`owner`: Repository owner (username or organization) (string, required)
186
+
-`rationale`: One concise sentence explaining what specifically about the issue led you to choose this state. State the concrete signal (e.g. 'The reported crash is fixed in v2.1' → completed). (string, optional)
169
187
-`repo`: Repository name (string, required)
170
188
-`state`: The new state for the issue (string, required)
171
189
-`state_reason`: The reason for the state change (only for closed state) (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)
226
+
-`content`: The emoji reaction type (string, required)
227
+
-`owner`: Repository owner (username or organization) (string, required)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/add_comment_to_pending_review.snap
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
{
2
2
"annotations": {
3
+
"idempotentHint": false,
4
+
"readOnlyHint": false,
3
5
"title": "Add review comment to the requester's latest pending pull request review"
4
6
},
5
7
"description": "Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).",
0 commit comments