Skip to content

Interface: AgentRoutineMetadata

A routine as it appears in an uploaded pack. addDefaultRoutine() stores each AgentRoutineDefinition in this shape.

Extends

Properties

instructions?

optional instructions: string

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

Inherited from

AgentRoutineDefinition.instructions


name?

optional name: string

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

Inherited from

AgentRoutineDefinition.name


trigger

trigger: DefaultTriggerMetadata

The trigger that runs this routine.