Check availability
get_inventoryWhether one variant is available now: in_stock, low (a dozen or fewer), out_of_stock, or unknown. Pass its SKU, or the product slug with color and size.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | A variant SKU from get_product (called with a color). | |
| size | No | ||
| slug | No | Product slug, with color and size. | |
| color | No |