addParameter

@ApiStatus.Experimental
fun addParameter(name: String, type: String, description: String?, required: Boolean = false): Function.Builder

For any other type of parameter, use this method. In general, there is no strict list of types for you to choose from. Instead, ChatGPT will read the string and interpret what the type should be.

Parameters

name

The name of the parameter

type

The type of the parameter

description

The description of the parameter

required

True to force ChatGPT to use this parameter