emails_preview
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Render the saved or proposed email through its existing feature's preview/personalization service. Returns subject/HTML for the shared read-only preview. Does not save/send. Real-source support follows that feature's current UI.
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>",
"target": "<target>"
},
"name": "emails_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| target | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| changes | No | ||
| example | No | ||
| orderId | No | ||
| sourceId | No | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| command | Yes |