A2uiFunctionCall
Client-side function invocation (e.g. formatString, required).
import type { A2uiFunctionCall } from '@threadplane/chat';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';