Skip to content

Commit 9add988

Browse files
Replace deprecated z.string().url() with z.url() directly
1 parent 074652d commit 9add988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export interface McpUiOpenLinkRequest {
7171
export const McpUiOpenLinkRequestSchema = RequestSchema.extend({
7272
method: z.literal("ui/open-link"),
7373
params: z.object({
74-
url: z.string().url(),
74+
url: z.url(),
7575
}),
7676
});
7777

0 commit comments

Comments
 (0)