check_availability
Determine real-time stock for a SKU by subtracting reserved units from on-hand inventory, ensuring accurate availability before making customer commitments.
Instructions
Check how many units of a SKU are really available right now (on hand minus reserved). Use this before promising anything to a customer.
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": {
"sku": "<sku>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes |