🚸 Default MCP output to JSON

This commit is contained in:
OpenWaygate committed 2026-09-12 18:23:17 +08:00
1 parent eac8f89d54
commit 57cde6b934
55 files changed
+59 -63

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -52,7 +52,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+2 -3
View File
@@ -57,9 +57,8 @@ var insertInSchema = &jsonschema.Schema{
"on_behalf_of": {Type: "string", Description: pkg.OBOUsage},
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
"output": {
Type: "string", Description: pkg.SilentUsage,
Enum: []any{"json", "yaml", "silent"},
Default: jsontext.Value(`"yaml"`),
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+2 -3
View File
@@ -47,9 +47,8 @@ var listInSchema = &jsonschema.Schema{
Default: jsontext.Value(`["id","snippet"]`),
},
"output": {
Type: "string", Description: pkg.TableUsage,
Enum: []any{"json", "yaml", "table"},
Default: jsontext.Value(`"yaml"`),
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+2 -3
View File
@@ -55,9 +55,8 @@ var updateInSchema = &jsonschema.Schema{
"on_behalf_of": {Type: "string", Description: pkg.OBOUsage},
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
"output": {
Type: "string", Description: pkg.SilentUsage,
Enum: []any{"json", "yaml", "silent"},
Default: jsontext.Value(`"yaml"`),
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -62,7 +62,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -48,7 +48,7 @@ var updateInSchema = &jsonschema.Schema{
"title": {Type: "string", Description: titleUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -46,7 +46,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -49,7 +49,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -44,7 +44,7 @@ var insertInSchema = &jsonschema.Schema{
"video_id": {Type: "string", Description: vidUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -55,7 +55,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -40,7 +40,7 @@ var markAsSpamInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -47,7 +47,7 @@ var setModerationStatusInSchema = &jsonschema.Schema{
"ban_author": {Type: "boolean", Description: baUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -49,7 +49,7 @@ var updateInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -42,7 +42,7 @@ var insertInSchema = &jsonschema.Schema{
"video_id": {Type: "string", Description: insertVidUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -70,7 +70,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -50,7 +50,7 @@ var bindInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -52,7 +52,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -57,7 +57,7 @@ var insertCuepointInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -56,7 +56,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -54,7 +54,7 @@ var transitionInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -53,7 +53,7 @@ var updateInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -48,7 +48,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -39,7 +39,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -45,7 +45,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -42,7 +42,7 @@ var transitionInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -39,7 +39,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -44,7 +44,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -58,7 +58,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -54,7 +54,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -59,7 +59,7 @@ var updateInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -50,7 +50,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -36,7 +36,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -50,7 +50,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -64,7 +64,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -56,7 +56,7 @@ var updateInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -56,7 +56,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -52,7 +52,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -51,7 +51,7 @@ var updateInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -52,7 +52,7 @@ var insertInSchema = &jsonschema.Schema{
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -54,7 +54,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -50,7 +50,7 @@ var updateInSchema = &jsonschema.Schema{
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -133,7 +133,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -40,7 +40,7 @@ var insertInSchema = &jsonschema.Schema{
"title": {Type: "string", Description: titleUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -74,7 +74,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -42,7 +42,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -42,7 +42,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -43,7 +43,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -44,7 +44,7 @@ var updateInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -37,7 +37,7 @@ var setInSchema = &jsonschema.Schema{
"video_id": {Type: "string", Description: vidUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -39,7 +39,7 @@ var getRatingInSchema = &jsonschema.Schema{
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -79,7 +79,7 @@ var insertInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -68,7 +68,7 @@ var listInSchema = &jsonschema.Schema{
},
"output": {
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}
+1 -1
View File
@@ -68,7 +68,7 @@ var updateInSchema = &jsonschema.Schema{
"recording_date": {Type: "string", Description: rdUsage},
"output": {
Type: "string", Enum: []any{"json", "yaml", "silent"},
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
},
},
}
+2 -3
View File
@@ -36,9 +36,8 @@ var listInSchema = &jsonschema.Schema{
Default: jsontext.Value(`["id","snippet"]`),
},
"output": {
Type: "string", Description: pkg.TableUsage,
Enum: []any{"json", "yaml", "table"},
Default: jsontext.Value(`"yaml"`),
Type: "string", Enum: []any{"json", "yaml", "table"},
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
},
},
}