Skip to content

Interface: WhileWritingTriggerDefinition

A while-writing trigger definition. An agent can have only one while-writing routine. It can show screen annotations on editable text.

Extends

Properties

assistMode?

optional assistMode: ContextualTriggerAssistMode

Controls when this trigger offers help. Defaults to ContextualTriggerAssistMode.Proactive.


blockedDomains?

optional blockedDomains: string[]

Domains where this trigger will not run. List up to 50.


condition

condition: string

A lightweight model checks this description to decide whether to start a run. This is separate from the agent's instructions.


kind

kind: WhileWriting

The kind identifier for this trigger.

Inherited from

BaseDefaultTrigger.kind