get_inventory
Retrieve current stock quantities for specific variant IDs, up to 50 per call. Get exact inventory levels for known variants.
Instructions
Retrieve inventory for specific variants (up to 50 ids per call).
Use when you know exact variant ids and want their current stock.
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": {
"variant_ids": "<variant_ids>"
},
"name": "get_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||