From 01f26430440c8e6de4704bc7dcd2b2a2610b0a9e Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 2 May 2026 09:27:38 -0400 Subject: [PATCH] Add summary to MCP response where available (#12241) --- server/presenters/document.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/presenters/document.ts b/server/presenters/document.ts index 7e2cac507d..45e363787e 100644 --- a/server/presenters/document.ts +++ b/server/presenters/document.ts @@ -95,6 +95,10 @@ async function presentDocument( delete res.updatedAt; } + if (document.summary) { + res.summary = document.summary; + } + if (!options.isPublic) { const source = document.import ?? (await document.$get("import"));