Get stock
stock_getRetrieve stock and available stock for a product by ID or product number, including every variant, to answer how many units are left.
Instructions
Get stock and available stock for one product by ID or product number, including every variant. Use it for 'how many X are left?' questions. Returns one object with a variants[] list (empty for simple products).
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": "stock_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | No | Product UUID | |
| productNumber | No | Product number, e.g. SW10001 |