Skip to content

Interface: AgentRoutineDefinition

A routine runs when its trigger fires and can add instructions for that run. When a user installs the agent, its routines are copied to that installation. Users can edit or delete them. Later releases do not update existing installations. Provide a name or instructions. At least one must contain non-whitespace text.

Properties

instructions?

optional instructions: string

Extra instructions for the agent to follow when this routine runs. Up to 20,000 characters.


name?

optional name: string

The routine name shown in the agent builder. Up to 80 characters.


trigger

trigger: DefaultTriggerDefinition

The trigger that runs this routine. It follows the same limits as other default triggers.