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/type-aliases/FunctionImpl.md.
Lynx
  • English
  • genui / a2ui / FunctionImpl

    FunctionImpl()

    type FunctionImpl: (args: Record<string, unknown>, context?: FunctionCallContext) => unknown;

    Function implementations live on the client; the agent only references functions by name. The registry is the bridge from the wire-level FunctionCall.call string to the actual code that runs locally.

    Parameters

    ParameterType
    argsRecord<string, unknown>
    context?FunctionCallContext

    Returns

    unknown

    Defined in

    @lynx-js/genui/a2ui/src/store/FunctionRegistry.ts:28

    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.