@@ -730,6 +730,18 @@ The following sets of tools are available:
730730
731731<summary ><picture ><source media =" (prefers-color-scheme: dark) " srcset =" pkg/octicons/icons/comment-discussion-dark.png " ><source media =" (prefers-color-scheme: light) " srcset =" pkg/octicons/icons/comment-discussion-light.png " ><img src =" pkg/octicons/icons/comment-discussion-light.png " width =" 20 " height =" 20 " alt =" comment-discussion " ></picture > Discussions</summary >
732732
733+ - ** add_discussion_comment** - Add discussion comment
734+ - ** Required OAuth Scopes** : ` repo `
735+ - ` body ` : Comment content (string, required)
736+ - ` discussionNumber ` : Discussion Number (number, required)
737+ - ` owner ` : Repository owner (string, required)
738+ - ` replyToCommentNodeID ` : The Node ID of the comment to reply to. If provided, the comment will be posted as a reply. (string, optional)
739+ - ` repo ` : Repository name (string, required)
740+
741+ - ** delete_discussion_comment** - Delete discussion comment
742+ - ** Required OAuth Scopes** : ` repo `
743+ - ` commentNodeID ` : The Node ID of the discussion comment to delete (string, required)
744+
733745- ** get_discussion** - Get discussion
734746 - ** Required OAuth Scopes** : ` repo `
735747 - ` discussionNumber ` : Discussion Number (number, required)
@@ -740,6 +752,7 @@ The following sets of tools are available:
740752 - ** Required OAuth Scopes** : ` repo `
741753 - ` after ` : Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
742754 - ` discussionNumber ` : Discussion Number (number, required)
755+ - ` includeReplies ` : When true, each top-level comment will include its replies nested within it. Defaults to false. (boolean, optional)
743756 - ` owner ` : Repository owner (string, required)
744757 - ` perPage ` : Results per page for pagination (min 1, max 100) (number, optional)
745758 - ` repo ` : Repository name (string, required)
@@ -759,6 +772,16 @@ The following sets of tools are available:
759772 - ` perPage ` : Results per page for pagination (min 1, max 100) (number, optional)
760773 - ` repo ` : Repository name. If not provided, discussions will be queried at the organisation level. (string, optional)
761774
775+ - ** set_discussion_comment_answer** - Set discussion comment as answer
776+ - ** Required OAuth Scopes** : ` repo `
777+ - ` commentNodeID ` : The Node ID of the discussion comment to mark or unmark as the answer (string, required)
778+ - ` isAnswer ` : Whether the comment is the answer to the discussion (true to mark, false to unmark) (boolean, required)
779+
780+ - ** update_discussion_comment** - Update discussion comment
781+ - ** Required OAuth Scopes** : ` repo `
782+ - ` body ` : The new contents of the comment (string, required)
783+ - ` commentNodeID ` : The Node ID of the discussion comment to update (string, required)
784+
762785</details >
763786
764787<details >
0 commit comments