Avito Search
avito_searchSearch Avito listings by text query with optional category and location filters. Returns price, availability, and reservation status per ad.
Instructions
Search Avito listings via the internal js/items API.
price_rub is None for an ad without a price — never 0. Each hit carries availability from Avito's own isReserved flag; reserved hits are kept unless include_inactive=false.
Full field list and error codes: guide://avito/avito_search.
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": {
"query": "<query>"
},
"name": "avito_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page (1-based) | |
| query | Yes | Search text, e.g. 'thinkpad x1 carbon' | |
| category_id | No | Optional Avito category id to narrow the search | |
| location_id | No | Avito location id; default AVITO_LOCATION_ID (637640 = Moscow) | |
| include_inactive | No | Keep reserved hits (availability=reserved), the default. false drops them from items and counts them in excluded_inactive; total_count still includes them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| _meta | No | ||
| count | No | ||
| items | No | ||
| query | No | ||
| status | No | ||
| tier_used | No | ||
| location_id | No | ||
| total_count | No | ||
| excluded_inactive | No |