We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6305b9d commit c8b70b4Copy full SHA for c8b70b4
ui/desktop/src/components/McpApps/McpAppRenderer.tsx
@@ -637,6 +637,7 @@ export default function McpAppRenderer({
637
return {
638
content: toolResult.content as unknown as CallToolResult['content'],
639
structuredContent: toolResult.structuredContent as { [key: string]: unknown } | undefined,
640
+ _meta: toolResult._meta,
641
};
642
}, [toolResult]);
643
ui/desktop/src/components/McpApps/types.ts
@@ -40,6 +40,7 @@ export type McpAppToolCancelled = McpUiToolCancelledNotification['params'];
40
export type McpAppToolResult = {
41
content: Content[];
42
structuredContent?: unknown;
43
+ _meta?: { [key: string]: unknown };
44
45
46
export type SamplingMessage = {
0 commit comments