get-inventory-items
Retrieve inventory item details for every variant of a product, including SKU, cost, tracked status, country of origin, and HS codes.
Instructions
Get inventory item details for all variants of a product including SKU, cost, tracked status, country of origin, and HS codes
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": {
"productId": "<productId>"
},
"name": "get-inventory-items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The product ID (e.g. gid://shopify/Product/123 or just 123) |