Bus Archive
bus_archiveArchive a handled message to clear it from pending and allow the session to close. Mark as read when only seen, done when fully handled.
Instructions
File a message away so it stops blocking the session from closing.
The Stop hook counts what is still pending, so archive each message once it is genuinely handled — not to silence the reminder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | 'done' when handled, 'read' when only seen. | done |
| message_id | Yes | Full or partial message id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||