get_inventory_item
Retrieves detailed inventory data for a specific item by ID or SKU, including tracked status, available quantities across locations, and variant associations.
Instructions
This tool retrieves detailed information about a specific inventory item by ID or SKU. It returns comprehensive inventory data including tracked status, available quantities across all locations, and associated variant information.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the inventory item (e.g., "gid://shopify/InventoryItem/12345") | |
| sku | No | The SKU of the inventory item (e.g., "XYZ-12345") |