Update Campaign Archive Settings
listmonk_update_campaign_archivePublishes or unpublishes a campaign on Listmonk's public archive page, controlling archive visibility with optional slug, template, and metadata.
Instructions
Publishes or unpublishes a campaign to Listmonk's public campaign archive page.
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": {
"id": "<id>",
"archive": "<archive>"
},
"name": "listmonk_update_campaign_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id. | |
| archive | Yes | Whether this campaign is published to the public archive. | |
| archive_meta | No | ||
| archive_slug | No | URL slug for the archived campaign page. | |
| archive_template_id | No |