Skip to content

Commit 546fdbf

Browse files
run test
1 parent 6a97273 commit 546fdbf

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"annotations": {
3+
"readOnlyHint": true,
4+
"title": "Search commits"
5+
},
6+
"description": "Search for commits across GitHub repositories using specialized commit search syntax. Great for finding specific changes, authors, or messages.",
7+
"inputSchema": {
8+
"properties": {
9+
"order": {
10+
"description": "Sort order",
11+
"enum": [
12+
"asc",
13+
"desc"
14+
],
15+
"type": "string"
16+
},
17+
"page": {
18+
"description": "Page number for pagination (min 1)",
19+
"minimum": 1,
20+
"type": "number"
21+
},
22+
"perPage": {
23+
"description": "Results per page for pagination (min 1, max 100)",
24+
"maximum": 100,
25+
"minimum": 1,
26+
"type": "number"
27+
},
28+
"query": {
29+
"description": "Commit search query. Examples: 'repo:owner/repo fix bug', 'author:defunkt', 'committer-date:\u003e2024-01-01'. Supports advanced search syntax.",
30+
"type": "string"
31+
},
32+
"sort": {
33+
"description": "Sort field ('author-date' or 'committer-date')",
34+
"enum": [
35+
"author-date",
36+
"committer-date"
37+
],
38+
"type": "string"
39+
}
40+
},
41+
"required": [
42+
"query"
43+
],
44+
"type": "object"
45+
},
46+
"name": "search_commits"
47+
}

0 commit comments

Comments
 (0)