Variants Get
tiendanube_variants_getRetrieve one product variant from Tiendanube/Nuvemshop using its product ID and variant ID, with optional field filtering and JSON or markdown output.
Instructions
Get one variant. HTTP: GET /products/{product_id}/variants/{id} Required scope: read_products API version: 2025-03
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>",
"id": "<id>"
},
"name": "tiendanube_variants_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variant ID | |
| fields | No | Comma-separated list of fields to return, to reduce payload size (e.g. 'id,name,variants') | |
| product_id | Yes | Product ID | |
| response_format | No | Output format: 'json' (default, full data) or 'markdown' (human-readable) | json |