Skip to content

Commit 3e988d5

Browse files
committed
Add toolsnaps for every tool
1 parent 1ddb78d commit 3e988d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1993
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"annotations": {
3+
"title": "Add comment to issue",
4+
"readOnlyHint": false
5+
},
6+
"description": "Add a comment to a specific issue in a GitHub repository.",
7+
"inputSchema": {
8+
"properties": {
9+
"body": {
10+
"description": "Comment content",
11+
"type": "string"
12+
},
13+
"issue_number": {
14+
"description": "Issue number to comment on",
15+
"type": "number"
16+
},
17+
"owner": {
18+
"description": "Repository owner",
19+
"type": "string"
20+
},
21+
"repo": {
22+
"description": "Repository name",
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"owner",
28+
"repo",
29+
"issue_number",
30+
"body"
31+
],
32+
"type": "object"
33+
},
34+
"name": "add_issue_comment"
35+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"annotations": {
3+
"title": "Add comment to the requester's latest pending pull request review",
4+
"readOnlyHint": false
5+
},
6+
"description": "Add a comment to the requester's latest pending pull request review, a pending review needs to already exist to call this (check with the user if not sure).",
7+
"inputSchema": {
8+
"properties": {
9+
"body": {
10+
"description": "The text of the review comment",
11+
"type": "string"
12+
},
13+
"line": {
14+
"description": "The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range",
15+
"type": "number"
16+
},
17+
"owner": {
18+
"description": "Repository owner",
19+
"type": "string"
20+
},
21+
"path": {
22+
"description": "The relative path to the file that necessitates a comment",
23+
"type": "string"
24+
},
25+
"pullNumber": {
26+
"description": "Pull request number",
27+
"type": "number"
28+
},
29+
"repo": {
30+
"description": "Repository name",
31+
"type": "string"
32+
},
33+
"side": {
34+
"description": "The side of the diff to comment on. LEFT indicates the previous state, RIGHT indicates the new state",
35+
"enum": [
36+
"LEFT",
37+
"RIGHT"
38+
],
39+
"type": "string"
40+
},
41+
"startLine": {
42+
"description": "For multi-line comments, the first line of the range that the comment applies to",
43+
"type": "number"
44+
},
45+
"startSide": {
46+
"description": "For multi-line comments, the starting side of the diff that the comment applies to. LEFT indicates the previous state, RIGHT indicates the new state",
47+
"enum": [
48+
"LEFT",
49+
"RIGHT"
50+
],
51+
"type": "string"
52+
},
53+
"subjectType": {
54+
"description": "The level at which the comment is targeted",
55+
"enum": [
56+
"FILE",
57+
"LINE"
58+
],
59+
"type": "string"
60+
}
61+
},
62+
"required": [
63+
"owner",
64+
"repo",
65+
"pullNumber",
66+
"path",
67+
"body",
68+
"subjectType"
69+
],
70+
"type": "object"
71+
},
72+
"name": "add_pull_request_review_comment_to_pending_review"
73+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"annotations": {
3+
"title": "Assign Copilot to issue",
4+
"readOnlyHint": false,
5+
"idempotentHint": true
6+
},
7+
"description": "Assign Copilot to a specific issue in a GitHub repository.\n\nThis tool can help with the following outcomes:\n- a Pull Request created with source code changes to resolve the issue\n\n\nMore information can be found at:\n- https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot\n",
8+
"inputSchema": {
9+
"properties": {
10+
"issueNumber": {
11+
"description": "Issue number",
12+
"type": "number"
13+
},
14+
"owner": {
15+
"description": "Repository owner",
16+
"type": "string"
17+
},
18+
"repo": {
19+
"description": "Repository name",
20+
"type": "string"
21+
}
22+
},
23+
"required": [
24+
"owner",
25+
"repo",
26+
"issueNumber"
27+
],
28+
"type": "object"
29+
},
30+
"name": "assign_copilot_to_issue"
31+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"annotations": {
3+
"title": "Create and submit a pull request review without comments",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create and submit a review for a pull request without review comments.",
7+
"inputSchema": {
8+
"properties": {
9+
"body": {
10+
"description": "Review comment text",
11+
"type": "string"
12+
},
13+
"commitID": {
14+
"description": "SHA of commit to review",
15+
"type": "string"
16+
},
17+
"event": {
18+
"description": "Review action to perform",
19+
"enum": [
20+
"APPROVE",
21+
"REQUEST_CHANGES",
22+
"COMMENT"
23+
],
24+
"type": "string"
25+
},
26+
"owner": {
27+
"description": "Repository owner",
28+
"type": "string"
29+
},
30+
"pullNumber": {
31+
"description": "Pull request number",
32+
"type": "number"
33+
},
34+
"repo": {
35+
"description": "Repository name",
36+
"type": "string"
37+
}
38+
},
39+
"required": [
40+
"owner",
41+
"repo",
42+
"pullNumber",
43+
"body",
44+
"event"
45+
],
46+
"type": "object"
47+
},
48+
"name": "create_and_submit_pull_request_review"
49+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"annotations": {
3+
"title": "Create branch",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create a new branch in a GitHub repository",
7+
"inputSchema": {
8+
"properties": {
9+
"branch": {
10+
"description": "Name for new branch",
11+
"type": "string"
12+
},
13+
"from_branch": {
14+
"description": "Source branch (defaults to repo default)",
15+
"type": "string"
16+
},
17+
"owner": {
18+
"description": "Repository owner",
19+
"type": "string"
20+
},
21+
"repo": {
22+
"description": "Repository name",
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"owner",
28+
"repo",
29+
"branch"
30+
],
31+
"type": "object"
32+
},
33+
"name": "create_branch"
34+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"annotations": {
3+
"title": "Open new issue",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create a new issue in a GitHub repository.",
7+
"inputSchema": {
8+
"properties": {
9+
"assignees": {
10+
"description": "Usernames to assign to this issue",
11+
"items": {
12+
"type": "string"
13+
},
14+
"type": "array"
15+
},
16+
"body": {
17+
"description": "Issue body content",
18+
"type": "string"
19+
},
20+
"labels": {
21+
"description": "Labels to apply to this issue",
22+
"items": {
23+
"type": "string"
24+
},
25+
"type": "array"
26+
},
27+
"milestone": {
28+
"description": "Milestone number",
29+
"type": "number"
30+
},
31+
"owner": {
32+
"description": "Repository owner",
33+
"type": "string"
34+
},
35+
"repo": {
36+
"description": "Repository name",
37+
"type": "string"
38+
},
39+
"title": {
40+
"description": "Issue title",
41+
"type": "string"
42+
}
43+
},
44+
"required": [
45+
"owner",
46+
"repo",
47+
"title"
48+
],
49+
"type": "object"
50+
},
51+
"name": "create_issue"
52+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"annotations": {
3+
"title": "Create or update file",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create or update a single file in a GitHub repository. If updating, you must provide the SHA of the file you want to update.",
7+
"inputSchema": {
8+
"properties": {
9+
"branch": {
10+
"description": "Branch to create/update the file in",
11+
"type": "string"
12+
},
13+
"content": {
14+
"description": "Content of the file",
15+
"type": "string"
16+
},
17+
"message": {
18+
"description": "Commit message",
19+
"type": "string"
20+
},
21+
"owner": {
22+
"description": "Repository owner (username or organization)",
23+
"type": "string"
24+
},
25+
"path": {
26+
"description": "Path where to create/update the file",
27+
"type": "string"
28+
},
29+
"repo": {
30+
"description": "Repository name",
31+
"type": "string"
32+
},
33+
"sha": {
34+
"description": "SHA of file being replaced (for updates)",
35+
"type": "string"
36+
}
37+
},
38+
"required": [
39+
"owner",
40+
"repo",
41+
"path",
42+
"content",
43+
"message",
44+
"branch"
45+
],
46+
"type": "object"
47+
},
48+
"name": "create_or_update_file"
49+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"annotations": {
3+
"title": "Create pending pull request review",
4+
"readOnlyHint": false
5+
},
6+
"description": "Create a pending review for a pull request. Call this first before attempting to add comments to a pending review, and ultimately submitting it. A pending pull request review means a pull request review, it is pending because you create it first and submit it later, and the PR author will not see it until it is submitted.",
7+
"inputSchema": {
8+
"properties": {
9+
"commitID": {
10+
"description": "SHA of commit to review",
11+
"type": "string"
12+
},
13+
"owner": {
14+
"description": "Repository owner",
15+
"type": "string"
16+
},
17+
"pullNumber": {
18+
"description": "Pull request number",
19+
"type": "number"
20+
},
21+
"repo": {
22+
"description": "Repository name",
23+
"type": "string"
24+
}
25+
},
26+
"required": [
27+
"owner",
28+
"repo",
29+
"pullNumber"
30+
],
31+
"type": "object"
32+
},
33+
"name": "create_pending_pull_request_review"
34+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy