OptionalinstructionsCustom task or behavior instructions for the preset (max 10,000 chars).
OptionalllmLLM invocation settings (e.g. a model override for this routine/step).
Optionalsession_Session mode: stateless (default, new session per trigger) or session (find-or-create a persistent session scoped by session_scope).
Optionalsession_When session_mode is session, controls session scoping: per_user (default), per_key, per_org, or global.
Optionalstructured_IDs of structured message templates that constrain the agent's responses to predefined structured formats.
Configuration for a preset routine handler. Controls the agent's behavior, session persistence, and model selection for a given routine or chain step.