Generate Posts From Product
generate_from_productA plain post about exactly ONE of the user's products, built on that product's own main photo (no new picture is drawn). For two or more products in one post, a product together with a person, or a new picture of the product, use generate_posts with productIds (and characters). Runs asynchronously — the user is notified when posts are ready.
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": {
"productId": "<productId>"
},
"name": "generate_from_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of posts to generate (default 1; only more when the user asks for more) | |
| topic | No | Optional angle or occasion for the posts (e.g. 'summer sale') | |
| productId | Yes | Product id from list_products (e.g. 'shopify-42' or 'feed-17') |