Check availability
check_availabilityWhether a product can be ordered now in the wanted quantity.
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": {
"slug": "<slug>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Product slug (from search_products). | |
| quantity | No | How many the shopper wants; the answer says whether that many are in stock. |