For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/genui/a2ui/functions/serializeCatalog.md.
Lynx
  • English
  • genui / a2ui / serializeCatalog

    serializeCatalog()

    function serializeCatalog(catalog: Catalog): SerializedCatalog

    Produce the JSON manifest the client should announce to the agent during channel handshake. Component entries without an attached schema serialize to { name } only — useful for letting the agent at least know what's renderable. Function entries serialize with their parameter schema when available.

    Parameters

    ParameterType
    catalogCatalog

    Returns

    SerializedCatalog

    Defined in

    @lynx-js/genui/a2ui/src/catalog/defineCatalog.ts:295

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.