Lynx

genui / a2ui-prompt / A2UIFunctionSpec

A2UIFunctionSpec

Prompt-facing schema for a client-side function the agent may call.

Properties

description?

optional description: string;

Defined in

@lynx-js/genui/server/agent/a2ui-catalog.ts:50


name

name: string;

Defined in

@lynx-js/genui/server/agent/a2ui-catalog.ts:51


parameters

parameters: JsonSchema;

Defined in

@lynx-js/genui/server/agent/a2ui-catalog.ts:52


returnType

returnType: 
  | "string"
  | "number"
  | "boolean"
  | "object"
  | "array"
  | "any"
  | "void";

Defined in

@lynx-js/genui/server/agent/a2ui-catalog.ts:53

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.