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: pkg/github/__toolsnaps__/set_issue_fields.snap
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,11 @@
27
27
"description": "The value to set for a number field",
28
28
"type": "number"
29
29
},
30
+
"rationale": {
31
+
"description": "One concise sentence explaining what specifically about the issue led you to choose this field value. State the concrete signal (e.g. 'Reports a crash when saving' → high priority).",
32
+
"maxLength": 280,
33
+
"type": "string"
34
+
},
30
35
"single_select_option_id": {
31
36
"description": "The GraphQL node ID of the option to set for a single select field",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/update_issue_labels.snap
+25-3Lines changed: 25 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"openWorldHint": true,
5
5
"title": "Update Issue Labels"
6
6
},
7
-
"description": "Update the labels of an existing issue. This replaces the current labels with the provided list.",
7
+
"description": "Update the labels of an existing issue. This replaces the current labels with the provided list. Each label may be a plain string or an object with a 'name' and optional 'rationale' explaining why the label was chosen.",
8
8
"inputSchema": {
9
9
"properties": {
10
10
"issue_number": {
@@ -13,9 +13,31 @@
13
13
"type": "number"
14
14
},
15
15
"labels": {
16
-
"description": "Labels to apply to this issue",
16
+
"description": "Labels to apply to this issue. Each item is either a label name string, or an object with 'name' and an optional 'rationale' (max 280 characters) explaining what specifically about the issue led you to choose this label.",
17
17
"items": {
18
-
"type": "string"
18
+
"oneOf": [
19
+
{
20
+
"description": "Label name",
21
+
"type": "string"
22
+
},
23
+
{
24
+
"properties": {
25
+
"name": {
26
+
"description": "Label name",
27
+
"type": "string"
28
+
},
29
+
"rationale": {
30
+
"description": "One concise sentence explaining what specifically about the issue led you to choose this label. State the concrete signal (e.g. 'Reports a crash when saving' → bug).",
0 commit comments