Stock: get
stock_get_stocks_infoFetches available stock quantities for a list of listing IDs. Returns each item's availability, including unlimited and out-of-stock status.
Instructions
Reads current stock (available quantity) for a list of listings in the warehouse (get_stocks_info). Read-only, changes nothing. Returns for each item_id: quantity (available = submitted/edited minus reserved), is_unlimited, is_multiple, is_out_of_stock. To change stock, use stock_update_stocks.
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": {
"item_ids": "<item_ids>"
},
"name": "stock_get_stocks_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_ids | Yes | IDs of the listings on the Avito website (item_id) to get stock for; from 1 to 200 per request. | |
| strong_consistency | No | If true, skip the cache and return data from the database (strong consistency): fresher but slower. By default data may be served from the cache. Optional. |