ParametersDefinition

data class ParametersDefinition(val properties: Map<String, PropertyDefinition> = emptyMap(), val required: List<String> = emptyList(), val additionalProperties: Boolean = false)(source)

JSON schema defining the function's input arguments.

See Strict mode

Constructors

Link copied to clipboard
constructor(properties: Map<String, PropertyDefinition> = emptyMap(), required: List<String> = emptyList(), additionalProperties: Boolean = false)

Properties

Link copied to clipboard

additionalProperties is always "false"

Link copied to clipboard
Link copied to clipboard

Type is always "object"