Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

action

optionalvalue required

Defines an action model. An action evaluates zero, one, or more inputs and generates an output. For more information, see Modeling Actions.

You must define this key and child keys in a *.model.bxb file. The file must be in the models/action folder.

Example

// models/actions/FindPopulation.model.bxb
action (FindPopulation) {
type (Search)

description (Looks up the population of a city, county, state, country, etc.)

collect {
input (region) {
type (SearchRegion)
min (Required) max (One)
}
}
output (Population)
}

Child Keys

output
required
Specifies the type and output of a given action
background-task[deprecated]
optional
This key is deprecated
collect
optional
Specifies zero, one, or more inputs to be evaluated before executing the action
confirm
optional
Enables you to conditionally determine if an action requires a confirmation or to change the type of confirmation required
confirmed-by[deprecated]
optional
This key is deprecated
delegate-to
optional
Delegates output generation to a set of planned (external) or direct sources
description
optional
Adds text describing the action, which is useful for documenting models
features
optional
Marks an action with special features
form-prompt[deprecated]
optional
This key is deprecated
type
optional
Specifies the action type