Skip to content

Commit 4981324

Browse files
committed
Add tool snapshot
1 parent d90d894 commit 4981324

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"annotations": {
3+
"title": "Search pull requests",
4+
"readOnlyHint": true
5+
},
6+
"description": "Search for pull requests in GitHub repositories.",
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+
"q": {
29+
"description": "Search query using GitHub pull request search syntax",
30+
"type": "string"
31+
},
32+
"sort": {
33+
"description": "Sort field by number of matches of categories, defaults to best match",
34+
"enum": [
35+
"comments",
36+
"reactions",
37+
"reactions-+1",
38+
"reactions--1",
39+
"reactions-smile",
40+
"reactions-thinking_face",
41+
"reactions-heart",
42+
"reactions-tada",
43+
"interactions",
44+
"created",
45+
"updated"
46+
],
47+
"type": "string"
48+
}
49+
},
50+
"required": [
51+
"q"
52+
],
53+
"type": "object"
54+
},
55+
"name": "search_pull_requests"
56+
}

0 commit comments

Comments
 (0)