parameter

Parent: tool

Applies whenexecutionPoint = onDemand and type supports PARAMETERS_DEFINED_BY_TOOL

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=30; textCase=UPPER
descriptionmultiline stringNodata type=multiline string; maxLen=4000

Property Groups:

  • value
  • validation
value
PropertyTypeRequiredDefault ValueDetails
dataTypeenumYesvarchar2data type=string; lov=STATIC
Valid values: varchar2 clob number boolean
value {
  dataType: varchar2
}
validation
PropertyTypeRequiredDefault ValueDetails
requiredbooleanYestruedata type=boolean
Specify whether a value for this parameter must always be provided by the AI Service.
allowedValuesmultiline stringNodata type=multiline string; maxLen=4000
Applies whendataType in (varchar2)dataType in (number)
validation {
  required: false
  allowedValues: ```json
    value
  ```
}

APEXlang Example

parameter sample (
    name: value
    description: ```
      value
    ```
    value {
        dataType: varchar2
    }
    validation {
        required: false
        allowedValues: ```json
          value
        ```
    }
)