Ajustar cadência da campanha
adjust_outreach_cadenceChanges how ONE campaign's messages read from one sentence of the user ('não fala de preço na primeira mensagem', 'mais curto', 'sem link na primeira', 'muda o tom para mais direto') and writes its template again in the same shape, now (it takes a few seconds). The people's steps not sent yet take the new template; nobody's messages are written again until a rewrite is requested (messagesNext in the result says how); sent messages and hand-edited ones stay. What the instruction teaches about how messages read is kept by default: rules takes the style part of the instruction as one to three short imperative sentences in the user's words that hold for any campaign ('Abra com uma pergunta de sondagem.', 'E-mails com até cinco frases.'), saved as workspace cadence rules (de-duplicated) so every campaign written afterwards follows them; the result's keptRules says which were kept. campaignOnly true when the instruction is only about this campaign's own content (its offer, a subject line, a case, its audience): nothing is kept beyond it. forAll true saves it only as a workspace rule, not on the campaign. Free. Nothing is sent. Not meant for a campaign draft still being created in the web app's chat flow, which has its own draft editor.
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>",
"instruction": "<instruction>"
},
"name": "adjust_outreach_cadence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only the steps on these days ("o passo 3" is the day of the cadence's third step); the other steps stay exactly as they are. Absent: every step. | |
| rules | No | The style part as short imperative rules for any campaign, in the user's words. Kept as workspace cadence rules. | |
| forAll | No | True when the sentence is a rule for every campaign. Default false. | |
| channels | No | Only these channels' steps are written again ("reescreve os e-mails" is ["email"]); the other steps stay exactly as they are. Absent: the whole cadence. | |
| campaignId | Yes | Exact campaign UUID. | |
| instruction | Yes | What to change, in the user's words, one sentence. | |
| campaignOnly | No | True only when the instruction is about this campaign's own content (offer, subject, case, audience), not how messages read. |