Notes on the open problems in fatbobman's post, from driving Xcode's MCP bridge (xcrun mcpbridge) from an external agent. Observed on Xcode 27.0 RC, with plain #Preview (no PreviewProvider).
Every RenderPreview result includes a supportedPreviewVariantOverrides field listing the variants that preview accepts. Pass one back as previewVariantOverrides and the render uses it:
{