Magidoc

BuzzToolApproval
Object

A Buzz tool call paused until the current user approves or denies it. HiveMind keeps one live approval per waiting thread.

Fields

#

_id

ID !
Non-null

Approval message id; pass it to resolveBuzzToolApproval.

threadId

ID !
Non-null

workspaceId

ID !
Non-null

workspaceName

Non-null

threadTitle

Non-null

threadOrigin

isAccountWork

Non-null

True when the paused thread is Flywheel account work, not a chat the user started.

play

The Flywheel play this account work serves, when it has one.

reason

Why Buzz proposes this, when Buzz started the thread itself: what arrived, or the Flywheel brief.

toolName

Non-null

toolArgs

Non-null

requiresAnswer

Non-null

True when the user must open chat to answer a question or review a complete email.

createdAt

Non-null

account

The account Flywheel works on, for account work whose account still exists.

contact

The person the account work writes to, when its target is a person.

campaign

The campaign that person is still in play in, newest enrollment first, so a run of campaign emails can be read as one group.

validUntil

When held account work stops being sendable; past it the approval leaves the queue.

Usages

#

References

#