upsertProductVariantsTool
Create or update variants of a product. Each item names its options ({ "size": "M", "color": "Red" } — the axes must exist: upsertProductOptions), and the axisKey is built from them. An item with variantId, or with options that match an existing variant, updates it; otherwise a new variant is created. Only the fields you pass move. Stock (quant, -1 unlimited), active, SKU, position and pictures apply at once. On a rikma product a new variant, or a price that moves, goes to the partners as one edit proposal (proposalId, silenceApprovesAt, voteUrl); on a personal product everything applies at once. Variants are never deleted — set active:false. Members only. Docs: https://1lev1.com/mcp#upsertProductVariantsTool
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why — shown to the partners when something is proposed. | |
| variants | Yes | ||
| productId | Yes | Matanot id, from listRikmaProducts. | |
| projectId | Yes | Rikma (project) id, from findUserProjectsTool. You must be a member. |