ReadonlyEditWhether the form is currently in edit mode.
ReadonlyEntityMetadata for the active entity.
ReadonlyFormOptional reference to the host BaseFormComponent.
Optional ReadonlyInjectorInjector of the host form container, for resolving Angular services such as dialogs.
ReadonlyIsWhether the record currently has unsaved changes.
ReadonlyIsWhether this toolbar action is currently pinned to the user's main toolbar.
ReadonlyIsWhether this toolbar action is currently visible (either inline or pinned on the bar).
ReadonlyProviderMetadata provider scoped to the form.
ReadonlyRecordThe active entity record on the form.
OptionalGetReturn the current open anchored comment count on the form container.
OptionalIsReturn whether the built-in Record Comments drawer is currently open on the form container.
Return whether the built-in Record Links drawer is currently open on the form container.
Request change detection on the host form container and toolbar.
Update whether this toolbar button renders in its active/open state (e.g. while its drawer is open).
Update the badge count or text displayed on this toolbar button.
Update the disabled state (and optional disabled-reason tooltip) on this toolbar button.
Optionalreason: stringPublish an updated record links summary to the form container and AI agent context.
Update the loading spinner state on this toolbar button.
OptionalSetToggle or set the built-in Record Comments drawer open state on the form container.
Toggle or set the built-in Record Links drawer open state on the form container.
Runtime context passed into every BaseFormToolbarAction lifecycle hook. Gives the action read access to the record, entity, provider, and toolbar visibility/pin state, plus callbacks to update its own badge, loading state, disabled state, active state, or host drawer.