Convert Campaign Content Format
listmonk_convert_campaign_contentConverts a campaign body between markdown, HTML, richtext, plain, and visual formats. Pass the body text explicitly, then save the returned result yourself via the update campaign tool.
Instructions
Converts a campaign body between content formats (e.g. markdown to HTML) and returns the converted body. This does NOT read or write the campaign's stored body — pass the body text explicitly and, if you want to keep the result, save it yourself via listmonk_update_campaign.
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>",
"body": "<body>",
"from": "<from>",
"to": "<to>"
},
"name": "listmonk_convert_campaign_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id. | |
| to | Yes | Format to convert `body` into. | |
| body | Yes | ||
| from | Yes | Current format of `body`. |