PromptArgument

@Serializable
data class PromptArgument(val name: String, val description: String?, val required: Boolean?)(source)

Describes an argument that a prompt can accept.

Constructors

Link copied to clipboard
constructor(name: String, description: String?, required: Boolean?)

Properties

Link copied to clipboard

A human-readable description of the argument.

Link copied to clipboard

The name of the argument.

Link copied to clipboard

Whether this argument must be provided.