Skip to main content
Discards all queued follow-up messages for an agent. The agent never receives the cleared messages. Returns the number of follow-ups that were discarded.

Synopsis

On a VM, the slug is optional — omitting it clears the current agent’s own queue.

Arguments

Examples

Clear an agent’s queue

All pending follow-ups are discarded. The agent continues with its current task but receives no further queued messages.

Clear when nothing is queued

Self-clear on a VM

When running on an agent VM, omit the slug to clear the current agent’s own queue:

Errors