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/executeFunctionCall.md.
Lynx
  • English
  • Function: executeFunctionCall()

    executeFunctionCall(processor: MessageProcessor, fn: object, 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
    fn{ args: Record<string, any>; call: string; returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any"; }
    fn.argsRecord<string, any>
    fn.callstring
    fn.returnType?"string" | "number" | "boolean" | "object" | "array" | "void" | "any"
    surfaceId?string
    dataContextPath?string
    options?ResolveFunctionOptions

    Returns

    unknown

    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.