Check availability
check_stockWhether products can be ordered now (available or sold out). Shops do not track quantities, so quantity is always null; quote_order checks again when ordering.
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": {
"product_ids": "<product_ids>"
},
"name": "check_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop | No | The "shop" value from find_shops (not needed on a shop's own address <shop>.lenius.app/mcp) | |
| product_ids | Yes |