diff --git a/ui/desktop/src/components/McpApps/McpAppRenderer.tsx b/ui/desktop/src/components/McpApps/McpAppRenderer.tsx index ff4ddd801e..b53c380e1c 100644 --- a/ui/desktop/src/components/McpApps/McpAppRenderer.tsx +++ b/ui/desktop/src/components/McpApps/McpAppRenderer.tsx @@ -637,6 +637,7 @@ export default function McpAppRenderer({ return { content: toolResult.content as unknown as CallToolResult['content'], structuredContent: toolResult.structuredContent as { [key: string]: unknown } | undefined, + _meta: toolResult._meta, }; }, [toolResult]); diff --git a/ui/desktop/src/components/McpApps/types.ts b/ui/desktop/src/components/McpApps/types.ts index a4a86284e1..c2efed80cc 100644 --- a/ui/desktop/src/components/McpApps/types.ts +++ b/ui/desktop/src/components/McpApps/types.ts @@ -40,6 +40,7 @@ export type McpAppToolCancelled = McpUiToolCancelledNotification['params']; export type McpAppToolResult = { content: Content[]; structuredContent?: unknown; + _meta?: { [key: string]: unknown }; }; export type SamplingMessage = {