switch
Last updated
Last updated
cases.condition_prompt
prompt
The true/false or yes/no question prompt to ask about the content.
cases.break
boolean
Whether to stop evaluating further cases if this condition is true. Defaults to false.
cases.tools
array
The tools to execute if the condition is true.
default.tools
array
The tools to execute if no conditions are true or no break was present.
content
prompt
The content to evaluate for each case.
null
This system tool does not return a value.