Skip to content

Commit f147590

Browse files
docs: regenerate README for discussion_comment_write and search_commits
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ca15a81 commit f147590

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,23 @@ 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+
- **discussion_comment_write** - Manage discussion comments
734+
- **Required OAuth Scopes**: `repo`
735+
- `body`: Comment content (required for 'add', 'reply', and 'update' methods) (string, optional)
736+
- `commentNodeID`: The Node ID of the discussion comment (required for 'reply', 'update', 'delete', 'mark_answer', and 'unmark_answer' methods). For 'reply', this is the top-level comment to reply to; GitHub Discussions only support one level of nesting. (string, optional)
737+
- `discussionNumber`: Discussion number (required for 'add' and 'reply' methods) (number, optional)
738+
- `method`: Write operation to perform on a discussion comment.
739+
Options are:
740+
- 'add' - adds a new top-level comment to a discussion.
741+
- 'reply' - replies to a top-level discussion comment (GitHub Discussions only support one level of nesting).
742+
- 'update' - updates an existing discussion comment.
743+
- 'delete' - deletes a discussion comment.
744+
- 'mark_answer' - marks a discussion comment as the answer (Q&A only).
745+
- 'unmark_answer' - unmarks a discussion comment as the answer (Q&A only).
746+
(string, required)
747+
- `owner`: Repository owner (required for 'add' and 'reply' methods) (string, optional)
748+
- `repo`: Repository name (required for 'add' and 'reply' methods) (string, optional)
749+
733750
- **get_discussion** - Get discussion
734751
- **Required OAuth Scopes**: `repo`
735752
- `discussionNumber`: Discussion Number (number, required)
@@ -740,6 +757,7 @@ The following sets of tools are available:
740757
- **Required OAuth Scopes**: `repo`
741758
- `after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
742759
- `discussionNumber`: Discussion Number (number, required)
760+
- `includeReplies`: When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false. (boolean, optional)
743761
- `owner`: Repository owner (string, required)
744762
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
745763
- `repo`: Repository name (string, required)
@@ -1287,6 +1305,14 @@ The following sets of tools are available:
12871305
- `query`: Search query using GitHub's powerful code search syntax. Examples: 'content:Skill language:Java org:github', 'NOT is:archived language:Python OR language:go', 'repo:github/github-mcp-server'. Supports exact matching, language filters, path filters, and more. (string, required)
12881306
- `sort`: Sort field ('indexed' only) (string, optional)
12891307

1308+
- **search_commits** - Search commits
1309+
- **Required OAuth Scopes**: `repo`
1310+
- `order`: Sort order (string, optional)
1311+
- `page`: Page number for pagination (min 1) (number, optional)
1312+
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
1313+
- `query`: Commit search query (GitHub commit search REST). Searches commit messages on the default branch only. Scope the search with `repo:owner/repo`, `org:`, or `user:` (queries without a scope qualifier match across all of GitHub and are usually not what you want). Other qualifiers: `author:`, `committer:`, `author-name:`, `committer-name:`, `author-email:`, `committer-email:`, `author-date:`, `committer-date:` (supports `>`, `<`, `>=`, `<=`, and `YYYY-MM-DD..YYYY-MM-DD` ranges), `merge:true|false`, `hash:`, `tree:`, `parent:`, `is:public`. Examples: `repo:owner/repo fix panic`; `org:github author:defunkt committer-date:>=2024-01-01`; `"refactor cache" repo:o/r`; `hash:abc1234 repo:o/r`. (string, required)
1314+
- `sort`: Sort by author or committer date (defaults to best match) (string, optional)
1315+
12901316
- **search_repositories** - Search repositories
12911317
- **Required OAuth Scopes**: `repo`
12921318
- `minimal_output`: Return minimal repository information (default: true). When false, returns full GitHub API repository objects. (boolean, optional)

0 commit comments

Comments
 (0)