Garbage-Collect Campaign Analytics
listmonk_delete_gc_campaign_analyticsPermanently deletes campaign analytics records—views, clicks, or all—older than a specified RFC3339 date. Use to purge old Listmonk analytics; irreversible, so confirm before calling.
Instructions
PERMANENTLY DELETES campaign analytics records (views/clicks/all) older than a given date. Irreversible; confirm with the user before calling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"before_date": "<before_date>"
},
"name": "listmonk_delete_gc_campaign_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Which class of campaign analytics to permanently delete. | |
| before_date | Yes | Delete records older than this RFC3339 timestamp, e.g. '2024-01-01T00:00:00Z' (not just a date). |