required

fun required(name: String, type: AIUIParameterType, description: String? = null): AIUIParameter

A parameter the agent must fill in.

Parameters

name

The parameter's name.

type

The type of its value.

description

What it is, for the agent.