Save a designed campaign email
save_campaign_emailSaves a designed campaign email under a name, as the email builder's Save email does, so any Email step can start from it; sending nothing. The saved email's id IS your idempotency_key: pass a new UUID (hyphens are fine) as idempotency_key, and reuse it when retrying so a repeat updates the same email instead of making a second. blocks is the email's content blocks (the same shape the builder saves); read campaigns' saved_emails to copy an existing one.
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": {
"name": "<name>",
"blocks": "<blocks>",
"idempotency_key": "<idempotency_key>"
},
"name": "save_campaign_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| blocks | Yes | ||
| subject | No | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |