We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be2e759 commit e8e768eCopy full SHA for e8e768e
cmd/src/mcp.go
@@ -85,7 +85,7 @@ func mcpMain(args []string) error {
85
return err
86
}
87
88
- output, err := json.MarshalIndent(result, "", " ")
+ output, err := json.Marshal(result)
89
if err != nil {
90
91
@@ -94,11 +94,11 @@ func mcpMain(args []string) error {
94
95
96
func printSchemas(tool *mcp.ToolDef) error {
97
- input, err := json.MarshalIndent(tool.InputSchema, "", " ")
+ input, err := json.Marshal(tool.InputSchema)
98
99
100
101
- output, err := json.MarshalIndent(tool.OutputSchema, "", " ")
+ output, err := json.Marshal(tool.OutputSchema)
102
103
104
0 commit comments