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

    executeFunctionCall()

    function executeFunctionCall(
       processor: MessageProcessor, 
       fn: FunctionCall, 
       surfaceId: string, 
       dataContextPath?: string, 
       options?: ResolveFunctionOptions): unknown

    Resolve arguments, look the function up in the registry, and invoke it. When no impl is registered, log once and return undefined so callers (checks, dynamic-property bindings) can degrade gracefully.

    Parameters

    ParameterType
    processorMessageProcessor
    fnFunctionCall
    surfaceIdstring
    dataContextPath?string
    options?ResolveFunctionOptions

    Returns

    unknown

    Defined in

    @lynx-js/genui/a2ui/src/store/resolveFunctionCall.ts:114

    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.