Screenshot a campaign
screenshotCampaignA picture of a campaign as its readers will get it, at a computer's width or a phone's: the layout, the products, the pictures and the button, drawn by a real browser. Use it to check a campaign you drafted or changed before telling the person it is ready (readCampaign gives its blocks as data, not how they look), and to describe it. Takes the campaign's broadcastId; variant 'b' shows version B of a test of two emails.
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": {
"broadcastId": "<broadcastId>"
},
"name": "screenshotCampaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | desktop (640px, the default) or phone (375px) | |
| variant | No | b for version B of a test of two emails | |
| broadcastId | Yes | The campaign, by its id in Kooga | |
| workspaceId | No | The workspace; leave it out when the connection reaches one |