Attach a product to an existing brand
set_product_brandAssign a product awaiting a brand decision to an existing brand to start video drafting. Optionally overwrite that brand's voice, market, and keywords with the product's detected identity.
Instructions
Attach a product waiting on brand_decision_required to one of the
account's existing brands. Use list_brands to see them.
Only do this when the user has confirmed the product really belongs to that brand. Attaching a product to an unrelated brand is not a cosmetic mislabel: every video is drafted in that brand's voice, to its target market, with its keywords.
By default the brand's existing identity is left untouched. Pass
replace_identity: true to instead overwrite that brand's voice, target
market and keywords with the identity detected on this product — the
"re-point my brand at a different company" move, for an account at its
brand limit. This rewrites a brand every other product on it shares, so
confirm it with the user explicitly first.
Once this returns, the video direction starts drafting: poll
get_product until video_direction.drafting is false.
This does not spend credits.
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": {
"product_id": "<product_id>",
"brand_id": "<brand_id>"
},
"name": "set_product_brand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand_id | Yes | The brand to attach it to, from `list_brands`. | |
| product_id | Yes | The product waiting on a brand decision. | |
| replace_identity | No | Optional, default false. Overwrite the brand's voice, target market and keywords with this product's detected identity. Affects every product on that brand — confirm with the user. |