check_availability
Determine product stock status—in stock, low, out of stock, or no data—at nearby BILLA, SPAR, HOFER, or dm stores using a postcode, town, or store ID.
Instructions
Whether stores near a place (or one store) have a product: stock
is "in stock", "low", "out of stock" or "no data" (HOFER's red light is
"low or out of stock"); dm adds pieces.
BILLA, dm and HOFER give stock levels; SPAR only says whether a store "listed" the product. HOFER keeps stock data for promotion items only.
Args:
product_id: A hit's id from the same chain.
near: An Austrian postcode or town; defaults to RABATT_NEAR.
store_id: One store's id from find_stores instead of the nearest.
limit: Stores to check, at most 10. Default 5.
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": {
"chain": "<chain>",
"product_id": "<product_id>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | ||
| chain | Yes | ||
| limit | No | ||
| store_id | No | ||
| product_id | Yes |