get_availability
Stock state of a product: in_stock, low_stock, preorder (with expected date), backorder or out_of_stock, plus the delivery time estimate for in-stock items. No quantities are disclosed.
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": {
"id": "<id>"
},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product id | |
| lang | No | Shop language: lv, lt, ee, pl, de, en, fr, ru. Defaults to the language of the domain the request was sent to. |