content_templates_save
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save a complete reusable content template through the editor's existing service. A new stable templateId creates it; replacing an existing owned ID requires its exact expectedRevision from get. Omitted/null revision creates only. Preserve unrelated content. Does not apply it to a resource, publish or send email.
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": {
"siteId": "<siteId>",
"templateType": "<templateType>",
"templateId": "<templateId>",
"name": "<name>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "content_templates_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| name | Yes | ||
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| payload | No | ||
| subject | No | ||
| templateId | Yes | ||
| templateType | Yes | ||
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. | |
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |