render tool streams OpenUI Lang into a Skybridge view that parses and displays it with OpenUI’s <Renderer />.
How it works
The MCP server exposesget-openui-prompt, which returns OpenUI Lang instructions generated from openuiLibrary.prompt() — component signatures, Skybridge-specific rules, and an example program. The model then calls render with an OpenUI Lang program. The view reads the streaming tool input and renders it with @openuidev/react-lang’s <Renderer /> against @openuidev/react-ui’s standard library.
OpenUI Lang is compact and stream-friendly: the first line defines root, while later lines can fill in forward references as the model generates details.
Skybridge APIs used
Third-party integrations
@openuidev/react-lang— OpenUI Lang parser and React<Renderer />@openuidev/react-ui— standard OpenUI component library