From c6efac015980352a758e9e82f93ee8f8c18f3d54 Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Thu, 2 Jul 2026 12:22:55 +0200 Subject: [PATCH] fix: allow optional blog image URLs --- src/tools/blog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/blog.ts b/src/tools/blog.ts index 5429303..72b0875 100644 --- a/src/tools/blog.ts +++ b/src/tools/blog.ts @@ -37,7 +37,7 @@ export function registerBlogTools(server: McpServer, client: BetterNewsClient) { title: z.string().min(1).max(150).describe("Post title"), content: z.string().min(1).describe("Post body (markdown supported)"), excerpt: z.string().max(300).optional().describe("Short excerpt shown in listings"), - imageUrl: z.string().url().optional().describe("Hero image URL"), + imageUrl: z.string().url().nullable().optional().describe("Hero image URL"), }, handleTool(async (body) => { const data = await client.post("/api/blog", body);