taobao_add_to_cart
Add a Taobao product with selected variant options to your cart as a preview or hand-off to your China agent. Set confirm=true to commit the cart addition.
Instructions
Stage one product+variant into the cart — the hand-off to your China agent.
Preview-only unless confirm=True (gated write). options = one value per variant
group (e.g. ["P100 质保3年 以换代修"]). NEVER buys, checks out, pays, or picks an address —
only stages into the cart (validates the variant chip + live skuId, then adds via the
mtop.trade.addBag API; the 加入购物车 button click is the fallback).
Example: {"product_url_or_id":"736546459871","options":["P100 质保7天 80个起售"],"qty":1,"confirm":true}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | ||
| confirm | No | ||
| options | No | ||
| product_url_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |