776ddaefcc
Update all tool snapshots to reflect the new cursor parameter replacing page/perPage parameters.
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
{
|
|
"annotations": {
|
|
"title": "Search code",
|
|
"readOnlyHint": true
|
|
},
|
|
"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": "Cursor for pagination. Use the cursor value from the previous response's pagination metadata to retrieve the next page. Leave blank for the first page.",
|
|
"type": "string"
|
|
},
|
|
"order": {
|
|
"description": "Sort order for results",
|
|
"enum": [
|
|
"asc",
|
|
"desc"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"sort": {
|
|
"description": "Sort field ('indexed' only)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"query"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "search_code"
|
|
} |