Skip to content

Commit f803c1d

Browse files
committed
Merge remote-tracking branch 'origin/omgitsads/go-sdk' into copilot/migrate-discussions-toolset
2 parents a661dcd + 1b769a5 commit f803c1d

18 files changed

+1113
-991
lines changed
Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
11
{
22
"annotations": {
3-
"title": "Add comment to issue",
4-
"readOnlyHint": false
3+
"title": "Add comment to issue"
54
},
65
"description": "Add a comment to a specific issue in a GitHub repository. Use this tool to add comments to pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add review comments.",
76
"inputSchema": {
7+
"type": "object",
8+
"required": [
9+
"owner",
10+
"repo",
11+
"issue_number",
12+
"body"
13+
],
814
"properties": {
915
"body": {
10-
"description": "Comment content",
11-
"type": "string"
16+
"type": "string",
17+
"description": "Comment content"
1218
},
1319
"issue_number": {
14-
"description": "Issue number to comment on",
15-
"type": "number"
20+
"type": "number",
21+
"description": "Issue number to comment on"
1622
},
1723
"owner": {
18-
"description": "Repository owner",
19-
"type": "string"
24+
"type": "string",
25+
"description": "Repository owner"
2026
},
2127
"repo": {
22-
"description": "Repository name",
23-
"type": "string"
28+
"type": "string",
29+
"description": "Repository name"
2430
}
25-
},
26-
"required": [
27-
"owner",
28-
"repo",
29-
"issue_number",
30-
"body"
31-
],
32-
"type": "object"
31+
}
3332
},
3433
"name": "add_issue_comment"
3534
}
Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
{
22
"annotations": {
3-
"title": "Assign Copilot to issue",
4-
"readOnlyHint": false,
5-
"idempotentHint": true
3+
"idempotentHint": true,
4+
"title": "Assign Copilot to issue"
65
},
76
"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",
87
"inputSchema": {
8+
"type": "object",
9+
"required": [
10+
"owner",
11+
"repo",
12+
"issueNumber"
13+
],
914
"properties": {
1015
"issueNumber": {
11-
"description": "Issue number",
12-
"type": "number"
16+
"type": "number",
17+
"description": "Issue number"
1318
},
1419
"owner": {
15-
"description": "Repository owner",
16-
"type": "string"
20+
"type": "string",
21+
"description": "Repository owner"
1722
},
1823
"repo": {
19-
"description": "Repository name",
20-
"type": "string"
24+
"type": "string",
25+
"description": "Repository name"
2126
}
22-
},
23-
"required": [
24-
"owner",
25-
"repo",
26-
"issueNumber"
27-
],
28-
"type": "object"
27+
}
2928
},
3029
"name": "assign_copilot_to_issue"
3130
}
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
22
"annotations": {
3-
"title": "Get dependabot alert",
4-
"readOnlyHint": true
3+
"readOnlyHint": true,
4+
"title": "Get dependabot alert"
55
},
66
"description": "Get details of a specific dependabot alert in a GitHub repository.",
77
"inputSchema": {
8+
"type": "object",
9+
"required": [
10+
"owner",
11+
"repo",
12+
"alertNumber"
13+
],
814
"properties": {
915
"alertNumber": {
10-
"description": "The number of the alert.",
11-
"type": "number"
16+
"type": "number",
17+
"description": "The number of the alert."
1218
},
1319
"owner": {
14-
"description": "The owner of the repository.",
15-
"type": "string"
20+
"type": "string",
21+
"description": "The owner of the repository."
1622
},
1723
"repo": {
18-
"description": "The name of the repository.",
19-
"type": "string"
24+
"type": "string",
25+
"description": "The name of the repository."
2026
}
21-
},
22-
"required": [
23-
"owner",
24-
"repo",
25-
"alertNumber"
26-
],
27-
"type": "object"
27+
}
2828
},
2929
"name": "get_dependabot_alert"
3030
}
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
22
"annotations": {
3-
"title": "Get issue details",
4-
"readOnlyHint": true
3+
"readOnlyHint": true,
4+
"title": "Get issue details"
55
},
66
"description": "Get information about a specific issue in a GitHub repository.",
77
"inputSchema": {
8+
"type": "object",
9+
"required": [
10+
"method",
11+
"owner",
12+
"repo",
13+
"issue_number"
14+
],
815
"properties": {
916
"issue_number": {
10-
"description": "The number of the issue",
11-
"type": "number"
17+
"type": "number",
18+
"description": "The number of the issue"
1219
},
1320
"method": {
14-
"description": "The read operation to perform on a single issue. \nOptions are: \n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n",
21+
"type": "string",
22+
"description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get details of a specific issue.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues of the issue.\n4. get_labels - Get labels assigned to the issue.\n",
1523
"enum": [
1624
"get",
1725
"get_comments",
1826
"get_sub_issues",
1927
"get_labels"
20-
],
21-
"type": "string"
28+
]
2229
},
2330
"owner": {
24-
"description": "The owner of the repository",
25-
"type": "string"
31+
"type": "string",
32+
"description": "The owner of the repository"
2633
},
2734
"page": {
35+
"type": "number",
2836
"description": "Page number for pagination (min 1)",
29-
"minimum": 1,
30-
"type": "number"
37+
"minimum": 1
3138
},
3239
"perPage": {
40+
"type": "number",
3341
"description": "Results per page for pagination (min 1, max 100)",
34-
"maximum": 100,
3542
"minimum": 1,
36-
"type": "number"
43+
"maximum": 100
3744
},
3845
"repo": {
39-
"description": "The name of the repository",
40-
"type": "string"
46+
"type": "string",
47+
"description": "The name of the repository"
4148
}
42-
},
43-
"required": [
44-
"method",
45-
"owner",
46-
"repo",
47-
"issue_number"
48-
],
49-
"type": "object"
49+
}
5050
},
5151
"name": "issue_read"
5252
}
Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,88 @@
11
{
22
"annotations": {
3-
"title": "Create or update issue.",
4-
"readOnlyHint": false
3+
"title": "Create or update issue."
54
},
65
"description": "Create a new or update an existing issue in a GitHub repository.",
76
"inputSchema": {
7+
"type": "object",
8+
"required": [
9+
"method",
10+
"owner",
11+
"repo"
12+
],
813
"properties": {
914
"assignees": {
15+
"type": "array",
1016
"description": "Usernames to assign to this issue",
1117
"items": {
1218
"type": "string"
13-
},
14-
"type": "array"
19+
}
1520
},
1621
"body": {
17-
"description": "Issue body content",
18-
"type": "string"
22+
"type": "string",
23+
"description": "Issue body content"
1924
},
2025
"duplicate_of": {
21-
"description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
22-
"type": "number"
26+
"type": "number",
27+
"description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'."
2328
},
2429
"issue_number": {
25-
"description": "Issue number to update",
26-
"type": "number"
30+
"type": "number",
31+
"description": "Issue number to update"
2732
},
2833
"labels": {
34+
"type": "array",
2935
"description": "Labels to apply to this issue",
3036
"items": {
3137
"type": "string"
32-
},
33-
"type": "array"
38+
}
3439
},
3540
"method": {
36-
"description": "Write operation to perform on a single issue.\nOptions are: \n- 'create' - creates a new issue. \n- 'update' - updates an existing issue.\n",
41+
"type": "string",
42+
"description": "Write operation to perform on a single issue.\nOptions are:\n- 'create' - creates a new issue.\n- 'update' - updates an existing issue.\n",
3743
"enum": [
3844
"create",
3945
"update"
40-
],
41-
"type": "string"
46+
]
4247
},
4348
"milestone": {
44-
"description": "Milestone number",
45-
"type": "number"
49+
"type": "number",
50+
"description": "Milestone number"
4651
},
4752
"owner": {
48-
"description": "Repository owner",
49-
"type": "string"
53+
"type": "string",
54+
"description": "Repository owner"
5055
},
5156
"repo": {
52-
"description": "Repository name",
53-
"type": "string"
57+
"type": "string",
58+
"description": "Repository name"
5459
},
5560
"state": {
61+
"type": "string",
5662
"description": "New state",
5763
"enum": [
5864
"open",
5965
"closed"
60-
],
61-
"type": "string"
66+
]
6267
},
6368
"state_reason": {
69+
"type": "string",
6470
"description": "Reason for the state change. Ignored unless state is changed.",
6571
"enum": [
6672
"completed",
6773
"not_planned",
6874
"duplicate"
69-
],
70-
"type": "string"
75+
]
7176
},
7277
"title": {
73-
"description": "Issue title",
74-
"type": "string"
78+
"type": "string",
79+
"description": "Issue title"
7580
},
7681
"type": {
77-
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter.",
78-
"type": "string"
82+
"type": "string",
83+
"description": "Type of this issue. Only use if the repository has issue types configured. Use list_issue_types tool to get valid type values for the organization. If the repository doesn't support issue types, omit this parameter."
7984
}
80-
},
81-
"required": [
82-
"method",
83-
"owner",
84-
"repo"
85-
],
86-
"type": "object"
85+
}
8786
},
8887
"name": "issue_write"
8988
}

0 commit comments

Comments
 (0)