Defined in: packages/ai/src/types.ts:451
optional meta: Record<string, unknown>;Defined in: packages/ai/src/types.ts:465
Reserved for future passthrough of the resource/tool _meta.ui (e.g. frame-size hints). Currently always undefined — nothing populates this field yet.
resource: object;Defined in: packages/ai/src/types.ts:454
The ui:// resource object in MCP-native shape — fed straight to the renderer.
optional blob: string;mimeType: string;optional text: string;uri: string;optional serverId: string;Defined in: packages/ai/src/types.ts:456
Pool prefix / config key — routes interactive calls to the right MCP server.
toolCallId: string;Defined in: packages/ai/src/types.ts:459
Links the widget to the originating tool call — correlates it with the sibling ToolCallPart/ToolResultPart in the same message.
toolName: string;Defined in: packages/ai/src/types.ts:462
Server-native (unprefixed) MCP tool name whose UI this resource renders. Required by the renderer (@mcp-ui/client's AppRenderer toolName prop).
type: "ui-resource";Defined in: packages/ai/src/types.ts:452