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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -926,7 +926,7 @@ The following sets of tools are available:
926
926
-**Required OAuth Scopes**: `repo`
927
927
-`assignees`: Usernames to assign to this issue (string[], optional)
928
928
-`body`: Issue body content (string, optional)
929
-
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
929
+
-`duplicate_of`: Issue number that this issue is a duplicate of. Required when state_reason is 'duplicate'. (number, optional)
930
930
-`issue_fields`: Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'. (object[], optional)
931
931
-`issue_number`: Issue number to update (number, optional)
932
932
-`labels`: Labels to apply to this issue (string[], optional)
@@ -941,7 +941,7 @@ The following sets of tools are available:
941
941
-`state`: New state (string, optional)
942
942
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
943
943
-`title`: Issue title (string, optional)
944
-
-`type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
944
+
-`type`: Type of this issue. For updates, pass null to remove the current type. Only use if issue types are enabled for this repository. Use list_issue_types to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string | null, optional)
-`assignees`: Usernames to assign to this issue (string[], optional)
58
58
-`body`: Issue body content (string, optional)
59
-
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
59
+
-`duplicate_of`: Issue number that this issue is a duplicate of. Required when state_reason is 'duplicate'. (number, optional)
60
60
-`issue_fields`: Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'. (object[], optional)
61
61
-`issue_number`: Issue number to update (number, optional)
62
62
-`labels`: Labels to apply to this issue (string[], optional)
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
73
73
-`title`: Issue title (string, optional)
74
-
-`type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
74
+
-`type`: Type of this issue. For updates, pass null to remove the current type. Only use if issue types are enabled for this repository. Use list_issue_types to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string | null, optional)
-`confidence`: How confident you are in this choice. Use 'HIGH' for clear signal or explicit user request, 'MEDIUM' for reasonable inference with some ambiguity, 'LOW' for best guess with limited signal. (string, optional)
201
201
-`is_suggestion`: If true, this issue type change is sent to the API as a suggestion (suggest:true) rather than an applied value. Whether the type is applied or recorded as a proposal is determined by the API. (boolean, optional)
202
202
-`issue_number`: The issue number to update (number, required)
203
-
-`issue_type`: The issue type to set(string, required)
203
+
-`issue_type`: The issue type to set, or null to remove the current type (string | null, required)
204
204
-`owner`: Repository owner (username or organization) (string, required)
205
205
-`rationale`: One concise sentence explaining what specifically about the issue led you to choose this type. State the concrete signal (e.g. 'Reports a crash when saving' → bug, 'Asks for dark mode support' → feature). (string, optional)
-`assignees`: Usernames to assign to this issue (string[], optional)
52
52
-`body`: Issue body content (string, optional)
53
-
-`duplicate_of`: Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'. (number, optional)
53
+
-`duplicate_of`: Issue number that this issue is a duplicate of. Required when state_reason is 'duplicate'. (number, optional)
54
54
-`issue_fields`: Issue field values to set or clear. Each item requires 'field_name' and exactly one of 'value', 'field_option_name', or 'delete: true'. (object[], optional)
55
55
-`issue_number`: Issue number to update (number, optional)
56
56
-`labels`: Labels to apply to this issue (string[], optional)
@@ -65,7 +65,7 @@ The list below is generated from the Go source. It covers tool **inventory and s
65
65
-`state`: New state (string, optional)
66
66
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
67
67
-`title`: Issue title (string, optional)
68
-
-`type`: Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string, optional)
68
+
-`type`: Type of this issue. For updates, pass null to remove the current type. Only use if issue types are enabled for this repository. Use list_issue_types to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter. (string | null, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/issue_write.snap
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
"type": "string"
29
29
},
30
30
"duplicate_of": {
31
-
"description": "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
31
+
"description": "Issue number that this issue is a duplicate of. Required when state_reason is 'duplicate'.",
32
32
"type": "number"
33
33
},
34
34
"issue_fields": {
@@ -120,8 +120,16 @@
120
120
"type": "string"
121
121
},
122
122
"type": {
123
-
"description": "Type of this issue. Only use if issue types are enabled for this repository. Use list_issue_types tool to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter.",
124
-
"type": "string"
123
+
"anyOf": [
124
+
{
125
+
"minLength": 1,
126
+
"type": "string"
127
+
},
128
+
{
129
+
"type": "null"
130
+
}
131
+
],
132
+
"description": "Type of this issue. For updates, pass null to remove the current type. Only use if issue types are enabled for this repository. Use list_issue_types to get valid type values for this repository or its owner organization. If the repository doesn't support issue types, omit this parameter."
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/update_issue_type.snap
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
"readOnlyHint": false,
7
7
"title": "Update Issue Type"
8
8
},
9
-
"description": "Update the type of an existing issue (e.g. 'bug', 'feature'). When setting values, include a confidence level (LOW, MEDIUM, or HIGH) reflecting how certain you are about the choice.",
9
+
"description": "Set or remove the type of an existing issue. Pass null to remove the current type. When setting a value, include a confidence level (LOW, MEDIUM, or HIGH) reflecting how certain you are about the choice.",
10
10
"inputSchema": {
11
11
"properties": {
12
12
"confidence": {
@@ -28,8 +28,16 @@
28
28
"type": "number"
29
29
},
30
30
"issue_type": {
31
-
"description": "The issue type to set",
32
-
"type": "string"
31
+
"anyOf": [
32
+
{
33
+
"minLength": 1,
34
+
"type": "string"
35
+
},
36
+
{
37
+
"type": "null"
38
+
}
39
+
],
40
+
"description": "The issue type to set, or null to remove the current type"
33
41
},
34
42
"owner": {
35
43
"description": "Repository owner (username or organization)",
0 commit comments