List variants
list_variantsFetch read-only variant details for a product variant category to inspect available options, IDs, and pricing before managing products.
Instructions
List variants. Reviewed native GET /products/:product_id/variant_categories/:variant_category_id/variants; scope: edit_products. Read only; no local effect approval required.
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>",
"variant_category_id": "<variant_category_id>"
},
"name": "list_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private profile label; never inherited credentials, ownership or scope proof. | |
| product_id | Yes | Exact opaque provider ID, including native = padding. | |
| variant_category_id | Yes | Exact opaque provider ID, including native = padding. |