Skip to content

Commit d910b73

Browse files
Merge pull request #234 from ziquid/fix-mcp-config-set-schema
Fixed JSON Schema validation errors in mcp-config-set, mcp-exec that broke Fireworks AI (Ollama Cloud)
2 parents 4e4df18 + 3da0e71 commit d910b73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/gateway/dynamic_mcps.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ func (g *Gateway) createMcpConfigSetTool(_ *clientConfig) *ToolRegistration {
743743
Description: "Configuration key to set. This is not to be prefixed by the server name.",
744744
},
745745
"value": {
746+
Types: []string{"string", "number", "boolean", "object", "array"},
746747
Description: "Configuration value to set (can be string, number, boolean, object, or array)",
747748
},
748749
},
@@ -938,6 +939,7 @@ func (g *Gateway) createMcpExecTool() *ToolRegistration {
938939
Description: "Name of the tool to execute",
939940
},
940941
"arguments": {
942+
Types: []string{"string", "number", "boolean", "object", "array", "null"},
941943
Description: "Arguments to pass to the tool (can be any valid JSON value)",
942944
},
943945
},

0 commit comments

Comments
 (0)