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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -902,7 +902,7 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
902
902
-`path`: Path to file/directory (directories must end with a slash '/') (string, required)
903
903
-`ref`: Accepts optional git refs such as `refs/tags/{tag}`, `refs/heads/{branch}` or `refs/pull/{pr_number}/head` (string, optional)
904
904
-`repo`: Repository name (string, required)
905
-
-`sha`: Accepts optional git sha, if sha is specified it will be used instead of ref (string, optional)
905
+
-`sha`: Accepts optional commit SHA. If specified, it will be used instead of ref (string, optional)
906
906
907
907
-**get_tag** - Get tag details
908
908
-`owner`: Repository owner (string, required)
@@ -916,12 +916,12 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
916
916
-`repo`: Repository name (string, required)
917
917
918
918
-**list_commits** - List commits
919
-
-`author`: Author username or email address (string, optional)
919
+
-`author`: Author username or email address to filter commits by (string, optional)
920
920
-`owner`: Repository owner (string, required)
921
921
-`page`: Page number for pagination (min 1) (number, optional)
922
922
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
923
923
-`repo`: Repository name (string, required)
924
-
-`sha`: The commit SHA, branch name, or tag name to list commits from. If not specified, defaults to the repository's default branch. (string, optional)
924
+
-`sha`: Commit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA. (string, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_commits.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
"inputSchema": {
8
8
"properties": {
9
9
"author": {
10
-
"description": "Author username or email address",
10
+
"description": "Author username or email address to filter commits by",
11
11
"type": "string"
12
12
},
13
13
"owner": {
@@ -30,7 +30,7 @@
30
30
"type": "string"
31
31
},
32
32
"sha": {
33
-
"description": "The commit SHA, branch name, or tag name to list commits from. If not specified, defaults to the repository's default branch.",
33
+
"description": "Commit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA.",
Copy file name to clipboardExpand all lines: pkg/github/repositories.go
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -111,10 +111,10 @@ func ListCommits(getClient GetClientFn, t translations.TranslationHelperFunc) (t
111
111
mcp.Description("Repository name"),
112
112
),
113
113
mcp.WithString("sha",
114
-
mcp.Description("The commit SHA, branch name, or tag name to list commits from. If not specified, defaults to the repository's default branch."),
114
+
mcp.Description("Commit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA."),
115
115
),
116
116
mcp.WithString("author",
117
-
mcp.Description("Author username or email address"),
117
+
mcp.Description("Author username or email address to filter commits by"),
118
118
),
119
119
WithPagination(),
120
120
),
@@ -470,7 +470,7 @@ func GetFileContents(getClient GetClientFn, getRawClient raw.GetRawClientFn, t t
470
470
mcp.Description("Accepts optional git refs such as `refs/tags/{tag}`, `refs/heads/{branch}` or `refs/pull/{pr_number}/head`"),
471
471
),
472
472
mcp.WithString("sha",
473
-
mcp.Description("Accepts optional git sha, if sha is specified it will be used instead of ref"),
473
+
mcp.Description("Accepts optional commit SHA. If specified, it will be used instead of ref"),
0 commit comments