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
-`show_ui`: Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like reviewers) and the user has already confirmed the action. (boolean, optional, conditional — only visible to clients that advertise MCP App UI support)
-`show_ui`: Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like labels, assignees, milestone, type, or state changes) and the user has already confirmed the action. (boolean, optional, conditional — only visible to clients that advertise MCP App UI support)
69
71
-`state`: New state (string, optional)
70
72
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
-`show_ui`: Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like reviewers) and the user has already confirmed the action. (boolean, optional, conditional — only visible to clients that advertise MCP App UI support)
41
42
-`title`: PR title (string, required)
42
43
43
44
-**get_me** - Get my user profile
@@ -60,6 +61,7 @@ The list below is generated from the Go source. It covers tool **inventory and s
60
61
-`milestone`: Milestone number (number, optional)
61
62
-`owner`: Repository owner (string, required)
62
63
-`repo`: Repository name (string, required)
64
+
-`show_ui`: Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like labels, assignees, milestone, type, or state changes) and the user has already confirmed the action. (boolean, optional, conditional — only visible to clients that advertise MCP App UI support)
63
65
-`state`: New state (string, optional)
64
66
-`state_reason`: Reason for the state change. Ignored unless state is changed. (string, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/create_pull_request.snap
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,10 @@
42
42
"description": "Repository name",
43
43
"type": "string"
44
44
},
45
+
"show_ui": {
46
+
"description": "Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like reviewers) and the user has already confirmed the action.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/issue_write.snap
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,10 @@
60
60
"description": "Repository name",
61
61
"type": "string"
62
62
},
63
+
"show_ui": {
64
+
"description": "Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like labels, assignees, milestone, type, or state changes) and the user has already confirmed the action.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/issue_write_ff_remote_mcp_issue_fields.snap
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,10 @@
96
96
"description": "Repository name",
97
97
"type": "string"
98
98
},
99
+
"show_ui": {
100
+
"description": "Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like labels, assignees, milestone, type, issue_fields, or state changes) and the user has already confirmed the action.",
Copy file name to clipboardExpand all lines: pkg/github/issues.go
+45-10Lines changed: 45 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1763,6 +1763,7 @@ var issueWriteFormParams = map[string]struct{}{
1763
1763
"title": {},
1764
1764
"body": {},
1765
1765
"issue_number": {},
1766
+
"show_ui": {},
1766
1767
"_ui_submitted": {},
1767
1768
}
1768
1769
@@ -1907,6 +1908,17 @@ Options are:
1907
1908
Required: []string{"field_name"},
1908
1909
},
1909
1910
},
1911
+
// show_ui is hidden from clients that do not advertise MCP App
1912
+
// UI support. The strip happens per-request in
1913
+
// inventory.ToolsForRegistration; it is present in the static
1914
+
// schema (and therefore in toolsnaps and the feature-flag /
1915
+
// insiders docs) so the UI-capable surface is fully
1916
+
// documented. It is intentionally not in the main README,
1917
+
// which renders the stripped (non-UI) schema.
1918
+
"show_ui": {
1919
+
Type: "boolean",
1920
+
Description: "Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like labels, assignees, milestone, type, issue_fields, or state changes) and the user has already confirmed the action.",
1921
+
},
1910
1922
},
1911
1923
Required: []string{"method", "owner", "repo"},
1912
1924
},
@@ -1928,13 +1940,19 @@ Options are:
1928
1940
}
1929
1941
1930
1942
// When MCP Apps are enabled and the client supports UI, route the
1931
-
// call to the interactive form unless it is itself a form submission
1932
-
// (the UI sends _ui_submitted=true) or it carries parameters the form
1933
-
// cannot represent (e.g. labels, assignees or issue_fields). Those
1934
-
// must be applied directly so their values aren't silently dropped.
1943
+
// call to the interactive form unless:
1944
+
// - it is itself a form submission (the UI sends _ui_submitted=true),
1945
+
// - the caller explicitly asked to skip the UI (show_ui=false), or
1946
+
// - it carries parameters the form cannot represent (e.g. labels,
1947
+
// assignees or issue_fields). Those must be applied directly so
Description: "Issue number that this issue is a duplicate of. Only used when state_reason is 'duplicate'.",
2148
2166
},
2167
+
// show_ui is hidden from clients that do not advertise MCP App
2168
+
// UI support. The strip happens per-request in
2169
+
// inventory.ToolsForRegistration; it is present in the static
2170
+
// schema (and therefore in toolsnaps and the feature-flag /
2171
+
// insiders docs) so the UI-capable surface is fully
2172
+
// documented. It is intentionally not in the main README,
2173
+
// which renders the stripped (non-UI) schema.
2174
+
"show_ui": {
2175
+
Type: "boolean",
2176
+
Description: "Whether to render the MCP App form instead of executing the request immediately. Defaults to true. Set to false to skip the form and execute directly — useful when you have all required values (especially ones the form does not collect, like labels, assignees, milestone, type, or state changes) and the user has already confirmed the action.",
2177
+
},
2149
2178
},
2150
2179
Required: []string{"method", "owner", "repo"},
2151
2180
},
@@ -2167,13 +2196,19 @@ Options are:
2167
2196
}
2168
2197
2169
2198
// When MCP Apps are enabled and the client supports UI, route the
2170
-
// call to the interactive form unless it is itself a form submission
2171
-
// (the UI sends _ui_submitted=true) or it carries parameters the form
2172
-
// cannot represent (e.g. labels, assignees or issue_fields). Those
2173
-
// must be applied directly so their values aren't silently dropped.
2199
+
// call to the interactive form unless:
2200
+
// - it is itself a form submission (the UI sends _ui_submitted=true),
2201
+
// - the caller explicitly asked to skip the UI (show_ui=false), or
2202
+
// - it carries parameters the form cannot represent (e.g. labels,
2203
+
// assignees or issue_fields). Those must be applied directly so
0 commit comments