Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/get_commit.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Get details for a commit from a GitHub repository",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"include_diff": {
"default": true,
"description": "Whether to include file diffs and stats in the response. Default is true.",
Expand All @@ -15,17 +19,6 @@
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/issue_read.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Get information about a specific issue in a GitHub repository.",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"issue_number": {
"description": "The number of the issue",
"type": "number"
Expand All @@ -24,17 +28,6 @@
"description": "The owner of the repository",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "The name of the repository",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/list_branches.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,14 @@
"description": "List branches in a GitHub repository",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
Expand Down
17 changes: 5 additions & 12 deletions pkg/github/__toolsnaps__/list_commits.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,21 @@
"title": "List commits",
"readOnlyHint": true
},
"description": "Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).",
"description": "Get list of commits of a branch in a GitHub repository. Returns 10 results per page. Use the cursor parameter for pagination.",
"inputSchema": {
"properties": {
"author": {
"description": "Author username or email address to filter commits by",
"type": "string"
},
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
Expand Down
10 changes: 2 additions & 8 deletions pkg/github/__toolsnaps__/list_issues.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"description": "List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.",
"inputSchema": {
"properties": {
"after": {
"description": "Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.",
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"direction": {
Expand Down Expand Up @@ -38,12 +38,6 @@
"description": "Repository owner",
"type": "string"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/list_notifications.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"description": "Only show notifications updated before the given time (ISO 8601 format)",
"type": "string"
},
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"filter": {
"description": "Filter notifications to, use default unless specified. Read notifications are ones that have already been acknowledged by the user. Participating notifications are those that the user is directly involved in, such as issues or pull requests they have commented on or created.",
"enum": [
Expand All @@ -23,17 +27,6 @@
"description": "Optional repository owner. If provided with repo, only notifications for this repository are listed.",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Optional repository name. If provided with owner, only notifications for this repository are listed.",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/list_pull_requests.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"description": "Filter by base branch",
"type": "string"
},
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"direction": {
"description": "Sort direction",
"enum": [
Expand All @@ -26,17 +30,6 @@
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/list_starred_repositories.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "List starred repositories",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"direction": {
"description": "The direction to sort the results by.",
"enum": [
Expand All @@ -14,17 +18,6 @@
],
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"sort": {
"description": "How to sort the results. Can be either 'created' (when the repository was starred) or 'updated' (when the repository was last pushed to).",
"enum": [
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/list_tags.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,14 @@
"description": "List git tags in a GitHub repository",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/pull_request_read.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Get information on a specific pull request in GitHub repository.",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"method": {
"description": "Action to specify what pull request data needs to be retrieved from GitHub. \nPossible options: \n 1. get - Get details of a specific pull request.\n 2. get_diff - Get the diff of a pull request.\n 3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.\n 4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.\n 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.\n 6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.\n 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.\n",
"enum": [
Expand All @@ -23,17 +27,6 @@
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"pullNumber": {
"description": "Pull request number",
"type": "number"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/search_code.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"order": {
"description": "Sort order for results",
"enum": [
Expand All @@ -14,17 +18,6 @@
],
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"query": {
"description": "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.",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/search_issues.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Search for issues in GitHub repositories using issues search syntax already scoped to is:issue",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"order": {
"description": "Sort order",
"enum": [
Expand All @@ -18,17 +22,6 @@
"description": "Optional repository owner. If provided with repo, only issues for this repository are listed.",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"query": {
"description": "Search query using GitHub issues search syntax",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/search_pull_requests.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"order": {
"description": "Sort order",
"enum": [
Expand All @@ -18,17 +22,6 @@
"description": "Optional repository owner. If provided with repo, only pull requests for this repository are listed.",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"query": {
"description": "Search query using GitHub pull request search syntax",
"type": "string"
Expand Down
15 changes: 4 additions & 11 deletions pkg/github/__toolsnaps__/search_repositories.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"description": "Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.",
"inputSchema": {
"properties": {
"cursor": {
"description": "Pagination cursor. Leave empty for the first page. Use the nextCursor value from the previous response to get the next page.",
"type": "string"
},
"minimal_output": {
"default": true,
"description": "Return minimal repository information (default: true). When false, returns full GitHub API repository objects.",
Expand All @@ -19,17 +23,6 @@
],
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"query": {
"description": "Repository search query. Examples: 'machine learning in:name stars:\u003e1000 language:python', 'topic:react', 'user:facebook'. Supports advanced search syntax for precise filtering.",
"type": "string"
Expand Down
Loading
Loading