43 lines
953 B
Plaintext
43 lines
953 B
Plaintext
{
|
|
"annotations": {
|
|
"title": "Search code",
|
|
"readOnlyHint": true
|
|
},
|
|
"description": "Search for code across GitHub repositories",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"order": {
|
|
"description": "Sort order",
|
|
"enum": [
|
|
"asc",
|
|
"desc"
|
|
],
|
|
"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"
|
|
},
|
|
"q": {
|
|
"description": "Search query using GitHub code search syntax",
|
|
"type": "string"
|
|
},
|
|
"sort": {
|
|
"description": "Sort field ('indexed' only)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"q"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "search_code"
|
|
} |