You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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.",
"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",
"description": "Get information about a specific issue in a GitHub repository.",
7
7
"inputSchema": {
8
+
"type": "object",
9
+
"required": [
10
+
"method",
11
+
"owner",
12
+
"repo",
13
+
"issue_number"
14
+
],
8
15
"properties": {
9
16
"issue_number": {
10
-
"description": "The number of the issue",
11
-
"type": "number"
17
+
"type": "number",
18
+
"description": "The number of the issue"
12
19
},
13
20
"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",
15
23
"enum": [
16
24
"get",
17
25
"get_comments",
18
26
"get_sub_issues",
19
27
"get_labels"
20
-
],
21
-
"type": "string"
28
+
]
22
29
},
23
30
"owner": {
24
-
"description": "The owner of the repository",
25
-
"type": "string"
31
+
"type": "string",
32
+
"description": "The owner of the repository"
26
33
},
27
34
"page": {
35
+
"type": "number",
28
36
"description": "Page number for pagination (min 1)",
29
-
"minimum": 1,
30
-
"type": "number"
37
+
"minimum": 1
31
38
},
32
39
"perPage": {
40
+
"type": "number",
33
41
"description": "Results per page for pagination (min 1, max 100)",
"description": "Create a new or update an existing issue in a GitHub repository.",
7
6
"inputSchema": {
7
+
"type": "object",
8
+
"required": [
9
+
"method",
10
+
"owner",
11
+
"repo"
12
+
],
8
13
"properties": {
9
14
"assignees": {
15
+
"type": "array",
10
16
"description": "Usernames to assign to this issue",
11
17
"items": {
12
18
"type": "string"
13
-
},
14
-
"type": "array"
19
+
}
15
20
},
16
21
"body": {
17
-
"description": "Issue body content",
18
-
"type": "string"
22
+
"type": "string",
23
+
"description": "Issue body content"
19
24
},
20
25
"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'."
23
28
},
24
29
"issue_number": {
25
-
"description": "Issue number to update",
26
-
"type": "number"
30
+
"type": "number",
31
+
"description": "Issue number to update"
27
32
},
28
33
"labels": {
34
+
"type": "array",
29
35
"description": "Labels to apply to this issue",
30
36
"items": {
31
37
"type": "string"
32
-
},
33
-
"type": "array"
38
+
}
34
39
},
35
40
"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",
37
43
"enum": [
38
44
"create",
39
45
"update"
40
-
],
41
-
"type": "string"
46
+
]
42
47
},
43
48
"milestone": {
44
-
"description": "Milestone number",
45
-
"type": "number"
49
+
"type": "number",
50
+
"description": "Milestone number"
46
51
},
47
52
"owner": {
48
-
"description": "Repository owner",
49
-
"type": "string"
53
+
"type": "string",
54
+
"description": "Repository owner"
50
55
},
51
56
"repo": {
52
-
"description": "Repository name",
53
-
"type": "string"
57
+
"type": "string",
58
+
"description": "Repository name"
54
59
},
55
60
"state": {
61
+
"type": "string",
56
62
"description": "New state",
57
63
"enum": [
58
64
"open",
59
65
"closed"
60
-
],
61
-
"type": "string"
66
+
]
62
67
},
63
68
"state_reason": {
69
+
"type": "string",
64
70
"description": "Reason for the state change. Ignored unless state is changed.",
65
71
"enum": [
66
72
"completed",
67
73
"not_planned",
68
74
"duplicate"
69
-
],
70
-
"type": "string"
75
+
]
71
76
},
72
77
"title": {
73
-
"description": "Issue title",
74
-
"type": "string"
78
+
"type": "string",
79
+
"description": "Issue title"
75
80
},
76
81
"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."
0 commit comments