Restaurar versão da cadência
restore_cadence_versionPuts an earlier cadence template back ("volta pro template que tava antes"). Without versionId it restores the most recent earlier version; versionId picks another. Steps already sent stay; people who have not received a step get the restored template, but their messages are not rewritten by this call: the result's messagesOutdated counts them and messagesNext describes the rewrite still pending. The restore itself is kept as a version, so it can be undone. Nothing is sent.
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": {
"campaignId": "<campaignId>"
},
"name": "restore_cadence_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versionId | No | Optional version id from the campaign's cadence versions; omitted, the most recent earlier version. | |
| campaignId | Yes | Exact campaign UUID. |