You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error msg from openAI: ValidationException: The json schema definition at toolConfig.tools.1.toolSpec.inputSchema is invalid. Fix the following errors and try again: $.properties: null found, object expected
To reproduce simply add the following tool in ur local test mcp server
mcpServer.AddTool(
mcp.NewTool(
"user-name-tool",
mcp.WithDescription("User name tool, you can get the name of the current user."),
),
func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {
return&mcp.CallToolResult{
Content: []mcp.Content{
mcp.TextContent{
Type: "text",
Text: "user name is: "+"HChengH",
},
},
}, nil
},
)