@threadplane/a2uiInterfacev0.3.4

A2uiFunctionCall

Client-side function invocation (e.g. formatString, required).

import type { A2uiFunctionCall } from '@threadplane/a2ui';

Declaration

export interface A2uiFunctionCall  {
  args?: Record<string, unknown>;
  call: string;
  returnType?: 'string' | 'number' | 'boolean' | 'array' | 'object' | 'any' | 'void';
}

Members

args

args?: Record<string, unknown>;

call

call: string;

returnType

returnType?: 'string' | 'number' | 'boolean' | 'array' | 'object' | 'any' | 'void';