avito_get_stocks
Fetch stock levels for up to 500 Avito listings per call, returning quantity, unlimited status, and out-of-stock flags for each item ID.
Instructions
Stock per listing (POST /stock-management/1/info): quantity, is_unlimited, is_out_of_stock. Up to 500 ids per call.
Args: item_ids: comma-separated Avito listing ids. Returns JSON: {"ok": true, "data": {"stocks": [{"item_id", "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": {
"item_ids": "<item_ids>"
},
"name": "avito_get_stocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |