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
-`after_id`: The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified) (number, optional)
711
-
-`before_id`: The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified) (number, optional)
712
-
-`issue_number`: The number of the parent issue (number, required)
713
-
-`owner`: Repository owner (string, required)
714
-
-`repo`: Repository name (string, required)
715
-
-`sub_issue_id`: The ID of the sub-issue to reprioritize. ID is not the same as issue number (number, required)
716
-
717
695
-**search_issues** - Search issues
718
696
-`order`: Sort order (string, optional)
719
697
-`owner`: Optional repository owner. If provided with repo, only issues for this repository are listed. (string, optional)
@@ -723,19 +701,20 @@ The following sets of tools are available:
723
701
-`repo`: Optional repository name. If provided with owner, only issues for this repository are listed. (string, optional)
724
702
-`sort`: Sort field by number of matches of categories, defaults to best match (string, optional)
725
703
726
-
-**update_issue** - Edit issue
727
-
-`assignees`: New assignees (string[], optional)
728
-
-`body`: New description (string, optional)
729
-
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
730
-
-`issue_number`: Issue number to update (number, required)
731
-
-`labels`: New labels (string[], optional)
732
-
-`milestone`: New milestone number (number, optional)
704
+
-**sub_issue_write** - Change sub-issue
705
+
-`after_id`: The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified) (number, optional)
706
+
-`before_id`: The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified) (number, optional)
707
+
-`issue_number`: The number of the parent issue (number, required)
708
+
-`method`: The action to perform on a single sub-issue
709
+
Options are:
710
+
- 'add' - add a sub-issue to a parent issue in a GitHub repository.
711
+
- 'remove' - remove a sub-issue from a parent issue in a GitHub repository.
712
+
- 'reprioritize' - change the order of sub-issues within a parent issue in a GitHub repository. Use either 'after_id' or 'before_id' to specify the new position.
713
+
(string, required)
733
714
-`owner`: Repository owner (string, required)
715
+
-`replace_parent`: When true, replaces the sub-issue's current parent issue. Use with 'add' method only. (boolean, optional)
734
716
-`repo`: Repository name (string, required)
735
-
-`state`: New state (string, optional)
736
-
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
737
-
-`title`: New title (string, optional)
738
-
-`type`: New issue type (string, optional)
717
+
-`sub_issue_id`: The ID of the sub-issue to add. ID is not the same as issue number (number, required)
739
718
740
719
</details>
741
720
@@ -757,8 +736,7 @@ The following sets of tools are available:
757
736
-`owner`: Repository owner (username or organization name) (string, required)
758
737
-`repo`: Repository name (string, required)
759
738
760
-
-**list_label** - List labels from a repository or an issue
761
-
-`issue_number`: Issue number - if provided, lists labels on the specific issue (number, optional)
739
+
-**list_label** - List labels from a repository
762
740
-`owner`: Repository owner (username or organization name) - required for all operations (string, required)
763
741
-`repo`: Repository name - required for all operations (string, required)
764
742
@@ -927,8 +905,9 @@ Possible options:
927
905
2. get_diff - Get the diff of a pull request.
928
906
3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.
929
907
4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.
930
-
5. get_review_comments - Get the review comments on a pull request. Use with pagination parameters to control the number of results returned.
908
+
5. get_review_comments - Get the review comments on a pull request. They are comments made on a portion of the unified diff during a pull request review. Use with pagination parameters to control the number of results returned.
931
909
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.
910
+
7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.
932
911
(string, required)
933
912
-`owner`: Repository owner (string, required)
934
913
-`page`: Page number for pagination (min 1) (number, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/add_issue_comment.snap
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"title": "Add comment to issue",
4
4
"readOnlyHint": false
5
5
},
6
-
"description": "Add a comment to a specific issue in a GitHub repository.",
6
+
"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.",
"description": "Get information about a specific issue in a GitHub repository.",
7
+
"inputSchema": {
8
+
"properties": {
9
+
"issue_number": {
10
+
"description": "The number of the issue",
11
+
"type": "number"
12
+
},
13
+
"method": {
14
+
"description": "The read operation to perform on a single issue. \nOptions are: \n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n",
15
+
"enum": [
16
+
"get",
17
+
"get_comments",
18
+
"get_sub_issues",
19
+
"get_labels"
20
+
],
21
+
"type": "string"
22
+
},
23
+
"owner": {
24
+
"description": "The owner of the repository",
25
+
"type": "string"
26
+
},
27
+
"page": {
28
+
"description": "Page number for pagination (min 1)",
29
+
"minimum": 1,
30
+
"type": "number"
31
+
},
32
+
"perPage": {
33
+
"description": "Results per page for pagination (min 1, max 100)",
0 commit comments