Create or update product context
upsert_product_contextCreate a new BrandGene product or update an existing product's description, selling points, price, promo badge, purchase URL, and product photo URLs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upsert_product_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Existing product ID to update. | |
| name | No | Product name (required when creating). | |
| brandId | No | Optional BrandGene brand ID to link this product to. Defaults to your active brand when creating. | |
| category | No | Product category. | |
| currency | No | ISO currency code, e.g. USD (default USD). | |
| imageUrls | No | HTTPS product photo URLs (first image is treated as the main photo and used as a visual reference by generate_ad_image). | |
| storeName | No | Store or shop name, or null to clear. | |
| promoLabel | No | Promo badge such as '10% OFF' or 'New Launch', or null to clear. | |
| description | No | Product overview and key details. | |
| purchaseUrl | No | Product HTTPS storefront URL, or null to clear. | |
| currentPrice | No | Current sale price. | |
| originalPrice | No | Original list price before discount, or null to clear. | |
| sellingPoints | No | Core product selling points (USPs). |