Add summary to MCP response where available (#12241)

This commit is contained in:
Tom Moor authored and GitHub committed 2026-05-02 09:27:38 -04:00
1 parent 8a896ddd2d
commit 01f2643044
1 file changed
+4
+4
View File
@@ -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"));