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
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -937,7 +937,9 @@ The following sets of tools are available:
937
937
(string, required)
938
938
-`milestone`: Milestone number (number, optional)
939
939
-`owner`: Repository owner (string, required)
940
-
-`parent_issue_number`: Issue number of the parent issue. Only used when method is 'create'. The new issue is created and attached to this parent in the same operation. (number, optional)
940
+
-`parent_issue_number`: Issue number of the parent issue. Only used when method is 'create' and cannot be combined with issue_fields. The new issue is created and attached to this parent in the same operation. (number, optional)
941
+
-`parent_owner`: Repository owner of the parent issue. Defaults to the value of owner. Only used when method is 'create' and parent_issue_number is provided. (string, optional)
942
+
-`parent_repo`: Repository name of the parent issue. Defaults to the value of repo. Only used when method is 'create' and parent_issue_number is provided. (string, optional)
941
943
-`repo`: Repository name (string, required)
942
944
-`state`: New state (string, optional)
943
945
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
-`parent_issue_number`: Issue number of the parent issue. Only used when method is 'create'. The new issue is created and attached to this parent in the same operation. (number, optional)
70
+
-`parent_issue_number`: Issue number of the parent issue. Only used when method is 'create' and cannot be combined with issue_fields. The new issue is created and attached to this parent in the same operation. (number, optional)
71
+
-`parent_owner`: Repository owner of the parent issue. Defaults to the value of owner. Only used when method is 'create' and parent_issue_number is provided. (string, optional)
72
+
-`parent_repo`: Repository name of the parent issue. Defaults to the value of repo. Only used when method is 'create' and parent_issue_number is provided. (string, optional)
71
73
-`repo`: Repository name (string, required)
72
74
-`state`: New state (string, optional)
73
75
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
-`body`: Issue body content (optional) (string, optional)
125
127
-`owner`: Repository owner (username or organization) (string, required)
126
128
-`parent_issue_number`: Issue number of the parent issue. The new issue is created and attached to this parent in the same operation. (number, optional)
129
+
-`parent_owner`: Repository owner of the parent issue. Defaults to the value of owner. Only used when parent_issue_number is provided. (string, optional)
130
+
-`parent_repo`: Repository name of the parent issue. Defaults to the value of repo. Only used when parent_issue_number is provided. (string, optional)
Copy file name to clipboardExpand all lines: docs/insiders-features.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,9 @@ The list below is generated from the Go source. It covers tool **inventory and s
61
61
(string, required)
62
62
-`milestone`: Milestone number (number, optional)
63
63
-`owner`: Repository owner (string, required)
64
-
-`parent_issue_number`: Issue number of the parent issue. Only used when method is 'create'. The new issue is created and attached to this parent in the same operation. (number, optional)
64
+
-`parent_issue_number`: Issue number of the parent issue. Only used when method is 'create' and cannot be combined with issue_fields. The new issue is created and attached to this parent in the same operation. (number, optional)
65
+
-`parent_owner`: Repository owner of the parent issue. Defaults to the value of owner. Only used when method is 'create' and parent_issue_number is provided. (string, optional)
66
+
-`parent_repo`: Repository name of the parent issue. Defaults to the value of repo. Only used when method is 'create' and parent_issue_number is provided. (string, optional)
65
67
-`repo`: Repository name (string, required)
66
68
-`state`: New state (string, optional)
67
69
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/issue_write.snap
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,10 +92,18 @@
92
92
"type": "string"
93
93
},
94
94
"parent_issue_number": {
95
-
"description": "Issue number of the parent issue. Only used when method is 'create'. The new issue is created and attached to this parent in the same operation.",
95
+
"description": "Issue number of the parent issue. Only used when method is 'create' and cannot be combined with issue_fields. The new issue is created and attached to this parent in the same operation.",
96
96
"minimum": 1,
97
97
"type": "number"
98
98
},
99
+
"parent_owner": {
100
+
"description": "Repository owner of the parent issue. Defaults to the value of owner. Only used when method is 'create' and parent_issue_number is provided.",
101
+
"type": "string"
102
+
},
103
+
"parent_repo": {
104
+
"description": "Repository name of the parent issue. Defaults to the value of repo. Only used when method is 'create' and parent_issue_number is provided.",
@@ -2362,8 +2349,8 @@ var issueWriteFormParams = map[string]struct{}{
2362
2349
"_ui_submitted": {},
2363
2350
}
2364
2351
2365
-
// parent_issue_number is intentionally omitted because the current form cannot
2366
-
// represent it. Calls that supply a parent bypass the form instead of dropping it.
2352
+
// Parent issue parameters are intentionally omitted because the current form cannot
2353
+
// represent them. Calls that supply a parent bypass the form instead of dropping them.
2367
2354
2368
2355
// issueWriteAwaitingFormResult builds the "awaiting form submission" stub
2369
2356
// returned when issue_write hands off to the MCP App form. The body is shared
@@ -2443,9 +2430,17 @@ Options are:
2443
2430
},
2444
2431
"parent_issue_number": {
2445
2432
Type: "number",
2446
-
Description: "Issue number of the parent issue. Only used when method is 'create'. The new issue is created and attached to this parent in the same operation.",
2433
+
Description: "Issue number of the parent issue. Only used when method is 'create' and cannot be combined with issue_fields. The new issue is created and attached to this parent in the same operation.",
2447
2434
Minimum: jsonschema.Ptr(1.0),
2448
2435
},
2436
+
"parent_owner": {
2437
+
Type: "string",
2438
+
Description: "Repository owner of the parent issue. Defaults to the value of owner. Only used when method is 'create' and parent_issue_number is provided.",
2439
+
},
2440
+
"parent_repo": {
2441
+
Type: "string",
2442
+
Description: "Repository name of the parent issue. Defaults to the value of repo. Only used when method is 'create' and parent_issue_number is provided.",
2443
+
},
2449
2444
"title": {
2450
2445
Type: "string",
2451
2446
Description: "Issue title",
@@ -2644,12 +2639,26 @@ Options are:
2644
2639
ifparentProvided&&method!="create" {
2645
2640
returnutils.NewToolResultError("parent_issue_number can only be used with the create method"), nil, nil
0 commit comments