Bixby Developer Center

Guides
References

collect

optional

Specifies zero, one, or more inputs to be evaluated before executing the action.

Keep in mind that the order of inputs in the block is the order in which they are evaluated.

Example

action (FindShoe) {
type (Search)

collect {
input (name) {
type (Name)
min (Optional)
}
input (type) {
type (Type)
min (Optional)
}
input (color) {
type (Color)
min (Optional)
}
input (minPrice) {
type (money.MinPrice)
min (Optional)
max (One)
}
input (maxPrice) {
type (money.MaxPrice)
min (Optional)
max (One)
}
}


output (Shoe)
}

Child Keys

computed-input
optional
A shortcut for specifying an input with plan-behavior(Never)
input
optional
Specifies an input that is collected for executing an action
input-group
optional
Extends input cardinality requirements to a group of inputs