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

    serializeCatalog(catalog: Catalog, catalogId?: string): SerializedCatalog

    Produce the JSON manifest the client should announce to the agent during channel handshake. Component entries require an attached schema so the advertised catalog can validate their props. Function entries serialize with their parameter schema and interface metadata when available.

    Parameters

    ParameterTypeDefault value
    catalogCatalogundefined
    catalogIdstring'https://unpkg.com/@lynx-js/genui/a2ui/dist/catalog.json'

    Returns

    SerializedCatalog

    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.