Get variant
get_variantRetrieve a product variant by ID to inspect its pricing, linked product, and files, with optional inclusion of product, files, and price-model relationships.
Instructions
Retrieves the variant with the given ID.
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": {
"id": "<id>"
},
"name": "get_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact opaque native resource ID; no traversal or URL. | |
| account | No | Exact private profile label. Does not prove store ownership; mode applies to the main API key only. | |
| include | No | Comma-separated native relationships from pinned official SDK: product, files, price-model. |