format=json_schema
draft-*
versions of JSON Schema at this time.format=paragon
format
query parameter.
Input Type | Key(s) | Example |
---|---|---|
Enum input (dropdown) | ENUM | DYNAMIC_ENUM | ![]() |
Enum input with free text support The user should be able to add their own option, if unavailable in the list | EDITABLE_ENUM | ![]() |
Enum input with text area A text input should appear to the right of the dropdown. | EnumTextAreaPairInput | ![]() |
Text input | TEXT | TEXT_NO_VARS | ![]() |
Textarea input Note that by default, lines = 1 (in this case, this input should look identical to a text input). | TEXTAREA | TEXTAREA_NO_VARS | ![]() |
Code input | CODE | ![]() |
Boolean input (switch / toggle) | BOOLEAN_INPUT | SWITCH | ![]() |
Filter / conditional input | CONDITIONAL | DYNAMIC_CONDITIONAL | ![]() |
json_schema
format automatically breaks down polymorphism in Actions as individual tools.
For example, SALESFORCE_CREATE_RECORD
splits into distinct Actions:
SALESFORCE_CREATE_OPPORTUNITY
SALESFORCE_CREATE_CONTACT
SALESFORCE_CREATE_ACCOUNT
SALESFORCE_CREATE_LEAD
SALESFORCE_CREATE_ANY
SALESFORCE_DESCRIBE_ACTION_SCHEMA
paragon
format, polymorphic schemas are not broken into individual Actions and instead will be represented as dependentInputs
within the API (see below example).
When calling Run Action, you can reference either the specific Action (e.g. SALESFORCE_CREATE_OPPORTUNITY
) or the generic Action (e.g. SALESFORCE_CREATE_RECORD
), as long as the required parameters are supplied.