Skip to content

Commit 5d2bc01

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 0bfed9a commit 5d2bc01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/inventory/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ var uiOnlySchemaProperties = []string{
426426
// surface — entries here must correspond to a strip rule in
427427
// ToolsForRegistration.
428428
func ConditionalSchemaPropertyDescriptions() map[string]string {
429-
const uiOnlyCondition = "only visible to clients that advertise MCP App UI support"
429+
const uiOnlyCondition = "visible when remote_mcp_ui_apps is enabled unless the client explicitly indicates it does not support io.modelcontextprotocol/ui"
430430
out := make(map[string]string, len(uiOnlySchemaProperties))
431431
for _, name := range uiOnlySchemaProperties {
432432
out[name] = uiOnlyCondition

0 commit comments

Comments
 (0)