trigger
Manage proactive triggers and prune overdue entries to maintain a bounded backlog.
Instructions
Manage proactive triggers + v0.8.0 bounded-backlog pruning.
ACTIONS:
"pending": Get pending triggers (default).
"history": View past triggers.
"acknowledge": Mark trigger as seen.
"deliver": Mark as shown to user.
"act": Mark as acted upon.
"dismiss": Dismiss as irrelevant.
"prune": v0.8.0 — expire overdue triggers + evict oldest when over
max_pending. Set dry_run=False to actually persist.
Args: action: One of the actions above. trigger_id: Required for acknowledge/deliver/act/dismiss. trigger_type: Filter by type (for pending/history). limit: Max results. dry_run: For prune — preview without persisting. max_pending: For prune — soft cap on the pending backlog (default 64).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| action | No | pending | |
| dry_run | No | ||
| trigger_id | No | ||
| max_pending | No | ||
| trigger_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |