generate_preview
Generate a visual preview of an ad directly from a creative spec and format, without requiring an existing ad.
Instructions
Generate an ad preview without needing an existing ad. Provide creative spec directly to see how it would look.
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": {
"ad_format": "<ad_format>",
"creative": "<creative>"
},
"name": "generate_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creative | Yes | JSON string of creative spec: {object_story_spec: {...}} or {object_story_id: '...'} | |
| ad_format | Yes | Ad format: DESKTOP_FEED_STANDARD, MOBILE_FEED_STANDARD, INSTAGRAM_STANDARD, INSTAGRAM_STORY, RIGHT_COLUMN_STANDARD, etc. |