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: docs/testing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This project uses a combination of unit tests and end-to-end (e2e) tests to ensu
22
22
## toolsnaps: Tool Schema Snapshots
23
23
24
24
- The `toolsnaps` utility ensures that the JSON schema for each tool does not change unexpectedly.
25
-
- Snapshots are stored in `__toolsnaps__/*.snap` files, where `*` represents the name of the tool
25
+
- Snapshots are stored in `__toolsnaps__/*.snap` files, where `*` represents the name of the tool
26
26
- When running tests, the current tool schema is compared to the snapshot. If there is a difference, the test will fail and show a diff.
27
27
- If you intentionally change a tool's schema, update the snapshots by running tests with the environment variable: `UPDATE_TOOLSNAPS=true go test ./...`
28
28
- In CI (when `GITHUB_ACTIONS=true`), missing snapshots will cause a test failure to ensure snapshots are always
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_code.snap
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@
3
3
"title": "Search code",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Search for code across GitHub repositories",
6
+
"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.",
7
7
"inputSchema": {
8
8
"properties": {
9
9
"order": {
10
-
"description": "Sort order",
10
+
"description": "Sort order for results",
11
11
"enum": [
12
12
"asc",
13
13
"desc"
@@ -25,8 +25,8 @@
25
25
"minimum": 1,
26
26
"type": "number"
27
27
},
28
-
"q": {
29
-
"description": "Search query using GitHubcode search syntax",
28
+
"query": {
29
+
"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.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_repositories.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"title": "Search repositories",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Search for GitHub repositories",
6
+
"description": "Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.",
0 commit comments