AIUIComponentDefinition

constructor(name: String, description: String, parameters: List<AIUIParameter> = emptyList(), events: List<AIUIComponentDefinition.Event> = emptyList())

Parameters

name

The name the agent places it by, such as place_card.

description

What it shows and when to use it, for the agent.

parameters

What the agent fills in, in order: a format such as OpenUI Lang passes arguments by position.

events

What it reports when the person uses it.