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 8353159 commit 81a073eCopy full SHA for 81a073e
cmd/src/mcp.go
@@ -89,7 +89,7 @@ func printSchemas(tool *mcp.ToolDef) error {
89
return nil
90
}
91
92
-func validateToolArgs(inputSchema mcp.Schema, args []string, vars map[string]any) error {
+func validateToolArgs(inputSchema mcp.SchemaObject, args []string, vars map[string]any) error {
93
for _, reqName := range inputSchema.Required {
94
if vars[reqName] == nil {
95
return errors.Newf("no value provided for required flag --%s", reqName)
0 commit comments