{"id":139870,"target_id":"1cecf06fdc16ee99","observed_at":"2026-11-17T22:14:09Z","from_subject":"sha256-0LiQXCQIi1lY/r1q1frj8V2RC73lw5WLAp2MV17iqbE=","to_subject":"sha256-2vtck5dQ7gNZZ6mhIOiSw3XiJSWWXOj/Uc7zi82z8Rk=","from_toolset":"sha256-mwfNT2aJrL2EYwlE13mzqW6eVS1WhxSw6He54596KMw=","to_toolset":"sha256-3sGtY3/0b/jX6ve/k5AqC55DH3PH1ipCvcnw0j/Hzps=","summary":{"added":[],"removed":[],"modified":[{"tool":"dv_appraise","fields":{"description":[["=","Is an ad's price (or a price you have in mind) high or low compared with similar ads? Percentile, verdict, confidence.\n\n"],["-","With"],["+","Give"],["="," "],["-","a"],["+","`token`,"],["="," "],["-","`token`:"],["+","or"],["="," "],["-","compares its price (or monthly rent)"],["+","`price`"],["="," with "],["-","similar"],["+","search"],["="," "],["-","ads"],["+","arguments."],["="," "],["-","found"],["+","Ignores"],["="," "],["-","from"],["+","year,"],["="," "],["-","its own breadcrumb (brand +\ndistrict, widening step by step). Without: give `price` plus category/query/filters. Returns `percentile` (share\nof comparable ads that are cheaper), `verdict` ('insufficient comparables', with no lean either way, when confidence is low"],["+","mileage"],["="," and "],["-","the call would be \"well below/above market\"), `vs_median_pct`, the fair band p25-p75 and `confidence`\n(high: 40+ comparable ads at the first level, medium: 15+, else low). Comparisons ignore year, mileage, area and\n"],["=","condition: refine with "],["-","`filters`/`query`, or dv_compare against specific ads. Asking prices only."],["+","`filters`."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Pages scanned per comparison level.\"","new":"\"Pages per comparison level.\""},{"path":"$.\"properties\".\"price\".\"description\"","old":"\"Without a token: the price in Toman to check against the search below (monthly rent for rent categories).\"","new":"\"Without a token: Toman price to check (monthly rent in rent categories).\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"token\".\"description\"","old":"\"An ad to appraise: its price is ranked against similar ads. Omit to appraise a price you give.\"","new":"\"Ad to appraise; omit to appraise `price`.\""}]}},{"tool":"dv_best_for_budget","fields":{"description":[["=","Within a budget: the best-value ads (furthest below their peers' median) and the "],["-","most"],["+","ads"],["="," "],["-","you can get (closest"],["+","closest"],["="," to the "],["-","budget)."],["+","budget."],["=","\n\n"],["-","Scans the newest `pages` pages capped at `budget`. Each "],["=","`best_value` "],["-","ad"],["+","ads"],["="," "],["-","has a"],["+","carry"],["="," `deal_score` (0-100) "],["-","with `reasons`\n(distance below `budget_median`, photos, freshness; penalties for prices over 70% under the median "],["=","and "],["-","for notice,\nparking or co-op titles). Ads under 20% of the uncapped `market_median` and"],["+","`reasons`;"],["="," bait titles "],["-","(وامدار,"],["+","and"],["="," "],["-","قدرالسهم,"],["+","implausible"],["="," "],["-","اقساط,\nپیش‌فروش...; kept if the word is in `query` / `keywords`)"],["+","prices"],["="," are "],["-","dropped into `skipped_implausible`. "],["+","skipped.\n"],["=","Property for"],["-","\n"],["+"," "],["=","sale ranks "],["-","by price "],["=","per "],["-","m2;"],["+","m2."],["="," "],["-","the"],["+","A"],["="," "],["-","top 6"],["+","`closest_to_budget`"],["="," ad "],["-","pages"],["+","already"],["="," "],["-","are"],["+","in"],["="," "],["-","opened"],["+","`best_value`"],["="," "],["-","for"],["+","shows"],["="," "],["-","publish"],["+","only"],["="," "],["-","time, floor, parking"],["+","token"],["="," and "],["-","elevator (the"],["+","price."],["=","\n"],["-","`caveat` says the rest are unchecked). An unrealistic budget returns an empty `best_value` with"],["+","Use"],["="," a "],["-","`note`. Use a\n"],["=","narrow "],["-","query or brand: a mixed category's median means nothing."],["+","query."],["="," Next: dv_appraise, dv_post."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"budget\".\"description\"","old":"\"Maximum price in Toman (rent categories: monthly rent), e.g. 1500000000.\"","new":"\"Max price in Toman (rent categories: monthly rent).\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"max_age_hours\".\"description\"","old":"\"Only ads bumped within this many hours.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"recent\".\"description\"","old":"\"Published within '3h', '12h', '1d', '3d' or '7d'.\""}]}},{"tool":"dv_boundary","fields":{"description":[["=","Neighbourhood borders of a city from Divar's GeoJSON: the city's bounding box, or one neighbourhood's polygon.\n\nWithout `district`: the city "],["-","bounding "],["=","box"],["-"," [min_lon, min_lat, max_lon, max_lat]"],["="," and "],["-","the"],["+","its"],["="," "],["-","neighbourhoods with id, centre\nand box."],["+","neighbourhoods."],["="," With "],["-","`district`:"],["+","it:"],["="," a"],["+"," thinned"],["="," GeoJSON Feature "],["-","of"],["+","([lon,"],["="," "],["-","that neighbourhood (coordinates [lon, lat], thinned to `max_points`\nper ring, so the shape is approximate). Use to draw an area or test a point against it; for a point's own\nneighbourhood use dv_locate. Next: dv_nearby with the centre."],["+","lat])."]],"inputSchema":[{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"district\".\"description\"","old":"\"A neighbourhood name or id (e.g. 'ونک', '315') to get its polygon. Omit for the city's bounding box and its neighbourhoods.\"","new":"\"Neighbourhood name or id for its polygon, e.g. 'ونک'.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max neighbourhoods listed in the overview.\"","new":"\"Max neighbourhoods in the overview.\""},{"path":"$.\"properties\".\"max_points\".\"description\"","old":"\"Max vertices per polygon ring (the full outline is thinned).\"","new":"\"Max vertices per ring.\""}]}},{"tool":"dv_categories","fields":{"description":[["=","The Divar category tree (236 nodes, up to 4 levels): slug, Persian name, path and whether it is a leaf.\n\n"],["-","Use to find"],["+","Gives"],["="," the `category` slug for "],["-","dv_search and "],["=","the "],["-","other"],["+","search"],["="," tools "],["-","(leaf slugs such as `light`"],["+","(`light`"],["="," = cars and "],["-","vans,\n`apartment-sell`,"],["+","vans)."],["="," "],["-","`apartment-rent`, `mobile-phones`). Filters exist per category:"],["+","Next:"],["="," dv_filters."]],"inputSchema":[{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max categories to return.\""},{"path":"$.\"properties\".\"parent\".\"description\"","old":"\"List the direct children of this category slug, e.g. 'vehicles' or 'real-estate'. Omit for the 10 top-level categories.\"","new":"\"List the children of this slug, e.g. 'vehicles'. Omit for the 10 top-level categories.\""}]}},{"tool":"dv_cheapest","fields":{"description":[["=","The cheapest ads of a search, cheapest first. Skips negotiable ads, placeholder or absurd prices and far-below-median outliers.\n\nDivar cannot sort by "],["-","price, so"],["+","price:"],["="," this "],["-","scans"],["+","ranks"],["="," the newest `pages` pages "],["-","(about"],["+","(raise"],["="," "],["-","25 ads each) and ranks them: raise\n`pages`"],["+","it"],["="," for a wider "],["-","scan or narrow with filters."],["+","scan)."],["="," Rent categories"],["-"," "],["+","\n"],["=","rank by monthly "],["-","rent (deposit shown too). Ads\nunder 10% of the median (`include_outliers` shows them) are usually not the thing searched for: a 100,000 Toman\n'car' is a transfer slip or a deposit. The answer says how many ads were scanned and skipped."],["+","rent."],["="," Next: dv_post, dv_compare."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"include_outliers\".\"description\"","old":"\"Also list ads priced under 10% of the scanned median (usually deposits, parts or bait).\"","new":"\"Also list ads under 10% of the median (usually deposits, parts or bait).\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max ads in the answer.\""},{"path":"$.\"properties\".\"max_age_hours\".\"description\"","old":"\"Only ads bumped within this many hours.\""},{"path":"$.\"properties\".\"min_realistic_price\".\"description\"","old":"\"Drop ads priced below this many Toman (seller junk prices like 1,000 are already flagged and skipped).\"","new":"\"Drop ads priced below this (Toman).\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"recent\".\"description\"","old":"\"Published within '3h', '12h', '1d', '3d' or '7d'.\""}]}},{"tool":"dv_cities","fields":{"description":[["=","City ids for a name (1,177 cities; Tehran is 1, Mashhad 3). Returns id, name, URL slug, province id and centre.\n\n"],["-","Use"],["+","Other"],["="," "],["-","first when you need a `city` for another tool (they"],["+","tools"],["="," also "],["-","accept"],["+","take"],["="," the "],["+","city "],["=","name "],["-","directly). Persian letter variants\n(ي/ی, ك/ک) are matched."],["+","directly."],["="," Next: "],["-","dv_districts"],["+","dv_districts,"],["="," "],["-","for the neighbourhoods of a city, dv_search to look for ads."],["+","dv_search."]],"inputSchema":[{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max cities to return.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"City name or slug, Persian or Latin, e.g. 'مشهد', 'kar'. Omit for the 7 biggest cities.\"","new":"\"Name or slug, e.g. 'مشهد', 'kar'. Omit for the 7 biggest cities.\""}]}},{"tool":"dv_compare","fields":{"description":[["=","Side by side: the price of each ad and only the specs that differ (the identical ones are listed once).\n\nGives "],["-","`cheapest`,"],["+","`cheapest`"],["="," "],["-","per other ad"],["+","and"],["="," `cheapest_saves_pct` "],["-","(how"],["+","(per"],["="," "],["-","much less the cheapest costs than that ad; per metre"],["+","m2"],["="," when"],["-","\n"],["+"," "],["=","every"],["-"," priced"],["="," ad has an "],["-","area,"],["+","area)."],["="," "],["-","see `compared_by`), the differing\nspec rows with each ad's value, shared specs, and features one ad has and another lacks. Works across"],["+","For"],["="," ads of "],["-","the\nsame"],["+","one"],["="," "],["-","kind (two cars, two flats); specs are the Persian rows of each ad."],["+","kind."]],"inputSchema":[{"path":"$.\"properties\".\"tokens\".\"description\"","old":"\"2 to 6 ad tokens to compare.\"","new":"\"Ad tokens.\""}]}},{"tool":"dv_count","fields":{"description":[["=","How many active ads match a search, in one cheap call (capped: 10,000 means '10,000 or more').\n\nUse to size a "],["-","market,"],["+","market or"],["="," to test whether "],["-","a"],["+","filters"],["="," "],["-","filter combination is"],["+","are"],["="," too "],["-","narrow,"],["+","narrow"],["="," "],["-","or to compare cities and districts\n"],["=","before fetching ads."],["-"," Same arguments as dv_search."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"max_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"min_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"recent\".\"description\"","old":"\"Published within '3h', '12h', '1d', '3d' or '7d'.\""}]}},{"tool":"dv_dealer","fields":{"description":[["=","A business account's public page: name, active ad count, member since and its first 11 ads.\n\n"],["-","Divar's"],["+","No"],["="," "],["-","web"],["+","paging:"],["="," "],["-","API"],["+","for"],["="," "],["-","gives only the first batch of a dealer's ads (no paging);"],["+","more,"],["="," search with the dealer's "],["-","name or use\nthe ad filters for more. Ads are compact rows (token, title, price, district, age, photos, tag); the ad link is\n`url_prefix` + token and `age_h` is hours since the last bump."],["+","name."]]}},{"tool":"dv_districts","fields":{"description":[["=","Neighbourhoods (محله) of one city with ids, centre point and the main streets inside (Tehran has about 450).\n\n"],["-","Use to get the district ids for a `districts` filter, or to pick coordinates for dv_nearby. dv_search and the other\nsearch"],["+","Search"],["="," tools"],["+"," also"],["="," take district names directly. Next: "],["-","dv_neighbours"],["+","dv_neighbours,"],["="," "],["-","for adjacent areas."],["+","dv_nearby."]],"inputSchema":[{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max neighbourhoods to return.\""}]}},{"tool":"dv_export","fields":{"description":[["=","The ads of a search as CSV or JSON lines text, ready to save to a spreadsheet or analyse.\n\n"],["-","Same arguments as dv_search. "],["=","Columns: token, title, price, deposit, "],["-","rent (Toman),"],["+","rent,"],["="," district, posted (UTC), photos,"],["-","\n"],["+"," "],["=","seller, info, url. "],["-","Missing prices are empty. The text is"],["+","Text"],["="," in "],["-","`data`; write it to a file yourself."],["+","`data`."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"format\".\"description\"","old":"\"'csv' (header + rows) or 'jsonl' (one JSON ad per line).\"","new":"\"'csv' or 'jsonl' (one JSON ad per line).\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"max_age_hours\".\"description\"","old":"\"Only ads bumped within this many hours.\""},{"path":"$.\"properties\".\"max_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"min_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"recent\".\"description\"","old":"\"Published within '3h', '12h', '1d', '3d' or '7d'.\""}]}},{"tool":"dv_filter_options","fields":{"description":[["=","Allowed values of a filter: brand and model keys (161 car brands), districts, or any option list.\n\n"],["-","With "],["=","`query` "],["-","it uses Divar's own typed search (best way to turn"],["+","turns"],["="," 'پراید' into the key 'Pride "],["-","111')."],["+","111';"],["="," "],["-","Without"],["+","without"],["="," it:"],["-","\n"],["+"," "],["=","all "],["-","brands (key, title, model count),"],["+","brands,"],["="," or the models of one `brand`. Pass the"],["-"," "],["+","\n"],["=","keys to dv_search as"],["-","\n"],["+"," "],["=","`brand_model` / `filters`."]],"inputSchema":[{"path":"$.\"properties\".\"brand\".\"description\"","old":"\"brand_model only: a brand key (e.g. 'Peugeot') to list its models.\"","new":"\"brand_model: a brand key, e.g. 'Peugeot', to list its models.\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"filter\".\"description\"","old":"\"Filter key from dv_filters, usually 'brand_model' (cars, phones, ...) or 'districts'.\"","new":"\"Filter key from dv_filters, usually 'brand_model' or 'districts'.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max options to return.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Text to look up inside the filter, e.g. 'سمند' or 'ونک'. Without it the whole list (or one brand) is returned.\"","new":"\"Text to look up in the filter, e.g. 'سمند'.\""}]}},{"tool":"dv_filters","fields":{"description":[["=","Every filter a category supports: key, type, Persian label, unit and the allowed options.\n\n"],["-","Use before dv_search when you need more than price and district. "],["=","Pass"],["-"," the"],["="," keys in "],["+","dv_search "],["=","`filters`:"],["-","\n"],["+"," "],["=","number_range"],["-"," ->"],["="," {'size': {'min': "],["-","80, 'max': 120}},"],["+","80}},"],["="," repeated_string"],["-"," ->"],["="," {'rooms': ['دو']},"],["-"," "],["+","\n"],["=","str "],["-","->"],["+","'automatic',"],["="," "],["-","{'gearbox': 'automatic'},\n"],["=","boolean "],["-","-> {'parking': true}."],["+","true."],["="," `lazy` "],["-","filters"],["+","options:"],["="," "],["-","(districts, brand_model) have long option lists: use\ndv_filter_options or the `districts` / `brand_model` arguments of dv_search. Rent categories filter `credit`\n(deposit) and `rent`, sale categories `price`; both in Toman."],["+","dv_filter_options."]],"inputSchema":[{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""}]}},{"tool":"dv_find_deals","fields":{"description":[["=","Ads priced well below the median of the same search, without a budget: scored deals, with bait and junk prices removed.\n\n"],["-","Scans the newest `pages` pages and keeps"],["+","Keeps"],["="," ads `min_discount_pct` to 70% below the median "],["-","(price per"],["+","(per"],["="," m2 for property"],["-","\n"],["+"," "],["=","for "],["-","sale)."],["+","sale);"],["="," "],["-","Left out:"],["+","drops"],["="," suspect "],["-","and placeholder prices, ads under 20% of the median (deposits, parts, bait), bait or\nco-op titles (وامدار, قدرالسهم, اقساط, پیش‌فروش...; unless you ask for the word)"],["+","prices"],["="," and"],["+","\nbait, co-op,"],["="," notice "],["-","/"],["+","or"],["="," parking titles."],["-","\n"],["+"," "],["=","Use a narrow "],["-","query or filters: the median of a mixed category means nothing. Asking prices only."],["+","query."],["="," Next: dv_post,"],["-","\ndv_appraise,"],["="," "],["-","dv_compare."],["+","dv_appraise."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"max_age_hours\".\"description\"","old":"\"Only ads bumped within this many hours.\""},{"path":"$.\"properties\".\"min_discount_pct\".\"description\"","old":"\"Only ads at least this many percent below the median.\"","new":"\"Minimum percent below the median.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"recent\".\"description\"","old":"\"Published within '3h', '12h', '1d', '3d' or '7d'.\""}]}},{"tool":"dv_locate","fields":{"description":[["=","The city, neighbourhood and street address of a GPS point.\n\n"],["-","Gives the city id and district id to use as filters. The street address is only known inside covered areas.\n"],["=","Next: "],["-","dv_nearby for ads around the point."],["+","dv_nearby."]]}},{"tool":"dv_market","fields":{"description":[["=","Asking-price statistics of a search: min, p10, p25, median, p75, p90, max, mean; split by district and by day.\n\n"],["-","Scans the newest `pages` pages (about 25 ads each) and drops negotiable and suspect prices (`excluded`) and, from the statistics, prices under a tenth of the median. Sale\nsearches give `price`; rentals give `rent` and `deposit` (Toman). `by_district` lists the busiest neighbourhoods\nwith ad count and median; `per_day` shows how many ads were posted per UTC date and their median, a rough\ntrend. These are what sellers ask, not what deals close at, and a"],["+","A"],["="," sample of the newest "],["-","ads,"],["+","`pages`"],["="," "],["-","not"],["+","pages."],["="," "],["-","the whole\nmarket: use"],["+","Use"],["="," a narrow query "],["-","or filters "],["=","(one model, one "],["-","area) for a meaningful median."],["+","area)."],["="," Next: dv_cheapest,"],["-","\ndv_best_for_budget,"],["="," dv_appraise."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"max_age_hours\".\"description\"","old":"\"Only ads bumped within this many hours.\""},{"path":"$.\"properties\".\"max_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"min_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"recent\".\"description\"","old":"\"Published within '3h', '12h', '1d', '3d' or '7d'.\""}]}},{"tool":"dv_nearby","fields":{"description":[["=","Ads on the map around a GPS point, nearest first, with coordinates, distance, price chips and a thumbnail.\n\n"],["-","Up to 200 ads per area are available (`total_in_area`"],["+","`total_in_area`"],["="," is the true "],["-","count)."],["+","count"],["="," "],["-","Pin"],["+","(up"],["="," "],["-","positions"],["+","to 200 available). Prices"],["="," are"],["-"," fuzzed by about 500 m\nfor most categories (`approximate_location`), so distances are approximate. A category is required (Divar's map\nreturns nothing without one). Map prices are rounded in"],["="," the site's "],["-","display"],["+","rounded"],["="," "],["-","(1.5"],["+","map"],["="," "],["-","billion = 1,500,000,000);"],["+","chips;"],["="," sale"],["+"," homes add"],["=","\n"],["-","pins give the total `price` and, for homes, "],["=","`price_per_m2`. Next: "],["-","dv_post for details."],["+","dv_post."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Required: the map shows nothing without a category. Slug or Persian name, e.g. 'apartment-sell', 'apartment-rent', 'light'. List them with dv_categories.\"","new":"\"Required (the map is empty without one); as in dv_search, e.g. 'apartment-sell'.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"lat\".\"description\"","old":"\"Latitude, e.g. 35.7. Get one from dv_place_search or dv_districts.\"","new":"\"Latitude, e.g. 35.7 (from dv_place_search or dv_districts).\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max ads in the answer.\""},{"path":"$.\"properties\".\"max_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"min_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"radius_m\".\"description\"","old":"\"Search radius in metres.\"","new":"\"Metres.\""}]}},{"tool":"dv_neighbours","fields":{"description":[["=","Neighbourhoods adjacent to a district, to widen a neighbourhood search to the surrounding area.\n\n`districts` is Divar's own "],["-","adjacency"],["+","(often"],["="," "],["-","list,"],["+","short)"],["="," "],["-","which is short for some areas (Vanak lists one)."],["+","list;"],["="," `nearest` adds "],["-","the\nclosest districts of `city` by centroid distance (within 3 km, "],["=","up to "],["-","6)"],["+","6"],["="," "],["-","so"],["+","districts"],["="," "],["-","a"],["+","within"],["="," "],["-","widened"],["+","3"],["="," "],["-","search"],["+","km."],["="," "],["-","is not too narrow.\n"],["=","Pass "],["-","the ids (or names)"],["+","them"],["="," as"],["-"," "],["+","\n"],["=","`districts` to dv_search."]],"inputSchema":[{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""}]}},{"tool":"dv_new_since","fields":{"description":[["=","Ads published after a moment, newest first: poll this to watch a search (a new flat, a cheap car) without repeats.\n\n"],["-","Call"],["+","Pass"],["="," "],["-","it,"],["+","the"],["="," "],["-","remember"],["+","previous"],["="," "],["-","`latest`,"],["+","call's"],["="," "],["-","and pass it"],["+","`latest`"],["="," as "],["-","`since` next time: only ads newer than that come back. Promoted old\nads are excluded by date."],["+","`since`."],["="," `more` "],["-","is true when"],["+","true:"],["="," the page limit "],["-","was"],["+","cut"],["="," "],["-","reached and even"],["+","off"],["="," more new "],["-","ads exist. Nothing is\nstored or pushed: the caller (or a scheduler) decides when to poll."],["+","ads."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"has_photo\".\"description\"","old":"\"Only ads with photos.\""},{"path":"$.\"properties\".\"hours\".\"description\"","old":"\"Used when `since` is omitted: ads from the last N hours.\"","new":"\"Without `since`: ads from the last N hours.\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max ads in the answer.\""},{"path":"$.\"properties\".\"max_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"min_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"since\".\"description\"","old":"\"UTC timestamp like 2026-10-16T01:50:00Z (the `latest` of the previous call). Omit to use `hours`.\"","new":"\"UTC time like 2026-10-16T01:50:00Z (the previous `latest`); omit to use `hours`.\""}]}},{"tool":"dv_parse_query","fields":{"description":[["=","Turn a plain Persian request into dv_search arguments: city, neighbourhoods, price bounds, category and leftover words.\n\n"],["-","A"],["+","Rule-based."],["="," "],["-","rule-based"],["+","Pass"],["="," "],["-","helper, not a language model: it finds a city and its neighbourhoods by name, amounts with\nمیلیارد / میلیون / هزار (with زیر, کمتر از, تا, بالای, حداقل or از ... تا ...), a category from Divar's own guess for the\nleftover words, and moves rental words (اجاره, رهن)"],["+","`search`"],["="," to "],["-","the matching rent category. `search` can be passed to\n"],["=","dv_search as it is; "],["-","check "],["=","`notes` "],["-","for"],["+","say"],["="," what was assumed. "],["-","An area like '80 متری' becomes a `size` filter of ±10%. "],["=","Rooms, year "],["-","or"],["+","and"],["="," mileage are not"],["-"," extracted: use dv_filters."],["+","\nextracted."]]}},{"tool":"dv_place_mapping","fields":{"description":[["=","Convert old Divar place ids to the current ones (Divar merged and renumbered places).\n\nUse when an "],["-","id from an "],["=","old "],["-","link or saved data"],["+","id"],["="," returns nothing."],["-"," `mapping` has the renumbered ids only; `unchanged`\nare current city ids;"],["="," `unverified` ids are "],["-","not"],["+","neither"],["="," "],["-","in"],["+","renumbered"],["="," "],["-","the"],["+","nor"],["="," "],["-","renumber table and are not cities (districts cannot be\nchecked here: see dv_districts)."],["+","cities."]]}},{"tool":"dv_place_search","fields":{"description":[["=","Map autocomplete: turn a landmark or street name into coordinates and a bounding box.\n\n"],["-","Use"],["+","Next: dv_nearby or dv_locate with"],["="," the "],["-","returned lat/lon with dv_nearby (ads around a place) or dv_locate. Persian text works best."],["+","lat/lon."]],"inputSchema":[{"path":"$.\"properties\".\"lat\".\"description\"","old":"\"Map centre latitude to bias results.\"","new":"\"Bias towards this point.\""},{"path":"$.\"properties\".\"lon\".\"description\"","old":"\"Map centre longitude to bias results.\""}]}},{"tool":"dv_post","fields":{"description":[["=","Everything public about one ad: price in Toman, specs, features, description, images, map position, seller type.\n\n"],["-","Prices: `price` (sale) or `deposit` + `rent` (rental; rent 0 + full_deposit = رهن کامل); `negotiable` true when the\nseller gave none; `suspect_price` marks placeholder prices. "],["=","`specs` are the "],["+","ad's "],["=","Persian spec "],["-","rows of the ad (mileage,\nyear, area, rooms...). `lat`/`lon` are fuzzed by about 500 m for most categories. `shared_housing` flags همخانه\nads."],["+","rows."],["="," No phone "],["-","number:"],["+","number"],["="," "],["-","Divar"],["+","(login"],["="," "],["-","shows it only to logged-in users, use `url` to"],["+","only):"],["="," contact the "],["-","seller."],["+","seller via `url`."],["=","\nNext: dv_similar, "],["-","dv_appraise (is the price fair),"],["+","dv_appraise,"],["="," dv_seller, dv_compare."]],"inputSchema":[{"path":"$.\"properties\".\"max_images\".\"description\"","old":"\"How many full-size image URLs to return.\"","new":"\"Full-size image URLs to return.\""},{"path":"$.\"properties\".\"token\".\"description\"","old":"\"Ad token: the last part of divar.ir/v/<slug>/<token> or `token` of a search result, e.g. 'gaRPIP2m'.\"","new":"\"Ad token, e.g. 'gaRPIP2m'.\""}]}},{"tool":"dv_posts","fields":{"description":[["=","Details of up to 10 ads in one call (compact: specs and one image, description cut at 300 characters).\n\n"],["-","Use"],["+","A"],["="," "],["-","to read a shortlist from dv_search. An"],["+","removed"],["="," ad"],["-"," that was removed"],["="," shows an `error` instead of failing the call."]],"inputSchema":[{"path":"$.\"properties\".\"tokens\".\"description\"","old":"\"Ad tokens, e.g. ['gaRPIP2m', 'gaRPYuZk'] (at most 10).\"","new":"\"Ad tokens.\""}]}},{"tool":"dv_price_trend","fields":{"description":[["=","The median asking price of a search over the days you have checked it: records one point per day in a local file.\n\nDivar keeps no "],["-","price history, so"],["+","history:"],["="," the trend starts with your first "],["-","call"],["+","call."],["="," "],["-","and grows each day you call it again\n(a scheduler helps). Each call scans the newest `pages` pages, stores median / quartiles / count for today (a second\ncall the same UTC day replaces it) and returns"],["+","Returns"],["="," the last 90 points with "],["-","`change_pct` since the previous day. "],["+","`change_pct`.\n"],["=","Use a"],["-","\n"],["+"," "],["=","narrow "],["-","query: a mixed category's median is noise. For a one-off distribution use dv_market."],["+","query."]],"inputSchema":[{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"pages\".\"description\"","old":"\"Result pages to merge, about 25 ads each.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"record\".\"description\"","old":"\"Store today's median so later calls can show the trend.\"","new":"\"Store today's point.\""}]}},{"tool":"dv_search","fields":{"description":[["=","Search Divar ads in one or more cities by category, text and filters; compact cards, prices in Toman.\n\n"],["-","Card fields are described in the server instructions; `age_h` is hours since the last bump, `image` comes only\nwith `thumbnails`, and `suspect_price` includes 'outlier' (at or under a tenth of the fetched median, 5+ priced\nads). Newest first; the first 1-3 rows may be promoted older ads. Continue with `next_cursor` as `cursor`.\n"],["=","Filters the category lacks come back in "],["-","`ignored`;"],["+","`ignored`."],["="," "],["-","an empty Persian query is retried once with letters folded.\n"],["=","Next: dv_post, dv_compare, dv_cheapest, dv_market."]],"inputSchema":[{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\"","new":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\"","new":"\"City name or id; several comma-separated, e.g. 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\"","new":"\"Neighbourhood names or ids, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\"","new":"\"Category filters (keys from dv_filters), e.g. {'size': {'min': 80, 'max': 120}, 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"max_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"min_deposit\".\"description\"","old":"\"Rent categories: deposit (ودیعه) in Toman.\"","new":"\"Rent deposit (ودیعه), Toman.\""},{"path":"$.\"properties\".\"sort\".\"description\"","old":"\"'newest' is Divar's own order (default, pages by cursor). 'cheapest' / 'expensive' sort the ads fetched in this call by price (Divar cannot sort by price).\"","new":"\"'newest' is Divar's order (pages by cursor); 'cheapest' / 'expensive' sort only the ads fetched in this call.\""}]}},{"tool":"dv_seller","fields":{"description":[["=","The seller behind an ad: how many personal and business ads they have, the business card (name, brand_token) and their ads.\n\n"],["-","Use to judge a seller (one flat or fifty cars?) and to list their other ads. For a dealer's whole page call\ndv_dealer with the brand_token (`dv_post` does not give one). "],["=","A personal seller has no business card "],["-","(`seller_kind`);"],["+","and"],["="," Divar no longer lists "],["-","a personal seller's"],["+","their"],["="," other "],["-","ads,"],["+","ads."],["="," "],["-","and"],["+","Next:"],["="," "],["-","a"],["+","dv_dealer"],["="," "],["-","dealer's list is"],["+","with"],["="," the"],["-"," first 11. No phone number or identity is exposed."],["+","\nbrand_token."]],"inputSchema":[{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max of the seller's other ads to return.\""},{"path":"$.\"properties\".\"token\".\"description\"","old":"\"Ad token: the last part of divar.ir/v/<slug>/<token> or `token` of a search result, e.g. 'gaRPIP2m'.\"","new":"\"Ad token, e.g. 'gaRPIP2m'.\""}]}},{"tool":"dv_similar","fields":{"description":[["=","Ads similar to one ad: same brand/model (or category) and neighbourhood, widening step by step until enough are found.\n\n"],["-","Divar has no similar-ads endpoint; this searches the ad's own breadcrumb (brand+district, brand, category+district,\ncategory). "],["=","`basis` names the levels "],["-","used,"],["+","searched,"],["="," narrowest first. "],["-","Sorted"],["+","Property"],["="," "],["-","newest"],["+","far"],["="," "],["-","first."],["+","off"],["="," "],["-","For"],["+","in"],["="," "],["-","property, ads priced over 5x"],["+","price"],["="," or"],["-"," under a fifth\nof this ad, or whose title"],["="," area is "],["-","under 0.4x or over 2.5x of its area (a 950B bulk listing next to a 180 m flat), are\nleft out and "],["=","counted in"],["-"," "],["+","\n"],["=","`excluded_outliers`. Next: dv_compare, dv_appraise."]],"inputSchema":[{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"Max similar ads.\""},{"path":"$.\"properties\".\"token\".\"description\"","old":"\"Ad token: the last part of divar.ir/v/<slug>/<token> or `token` of a search result, e.g. 'gaRPIP2m'.\"","new":"\"Ad token, e.g. 'gaRPIP2m'.\""}]}},{"tool":"dv_status","fields":{"description":[["=","Is Divar reachable and how fast: version, a live latency check, caches and local watch state.\n\nCall "],["-","first "],["=","when other tools "],["-","fail (it"],["+","fail:"],["="," tells a blocked network from a bad "],["-","argument). The check is one small\nrequest to Divar. The server instructions describe the usual tool order (cities and categories, then dv_search,\nthen dv_post)."],["+","argument."]]}},{"tool":"dv_suggest","fields":{"description":[["=","What Divar's search box would suggest for some text, and which categories the text belongs to.\n\nUse to find "],["-","the right "],["=","`category` and "],["-","a good "],["=","`query` "],["-","when the user only gave"],["+","from"],["="," a product name. "],["-","Each suggestion has\nthe category slug and a probability; `categories` are guesses for the bare word. "],["=","Next: dv_search."]],"inputSchema":[{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""}]}},{"tool":"dv_watch","fields":{"description":[["=","Save a search and later get only the ads that appeared since the last check; stored in a local file, nothing is pushed.\n\n"],["-","`create` takes the search arguments of dv_search (validated once, then stored with the current time as the mark).\n`check`"],["+","Nothing"],["="," runs"],["-"," dv_new_since for the watch and moves the mark to the newest ad it returned, so the next check shows only\nnewer ads; it does not run"],["="," by itself: call "],["-","it"],["+","`check`"],["="," "],["-","from"],["+","on"],["="," a schedule or when asked. "],["-","The file is"],["+","File:"],["="," `~/.divar-mcp/state.json`\n"],["-","(override with DIVAR_MCP_STATE); it holds only your searches. Next: dv_post for a new ad."],["+","(DIVAR_MCP_STATE)."]],"inputSchema":[{"path":"$.\"properties\".\"action\".\"description\"","old":"\"'create' saves a search, 'check' returns the ads newer than the last check and moves the mark, 'list' shows the saved searches, 'delete' removes one.\"","new":"\"'create' saves a search, 'check' returns ads newer than the last check, 'list', 'delete'.\""},{"path":"$.\"properties\".\"brand_model\".\"description\"","old":"\"Vehicles, phones: brand/model, e.g. ['پژو 206'].\""},{"path":"$.\"properties\".\"category\".\"description\"","old":"\"Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'.\""},{"path":"$.\"properties\".\"city\".\"description\"","old":"\"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'.\""},{"path":"$.\"properties\".\"districts\".\"description\"","old":"\"Neighbourhood names or ids in the one city, e.g. ['ونک'].\""},{"path":"$.\"properties\".\"exclude\".\"description\"","old":"\"Drop ads whose title has any of these words.\""},{"path":"$.\"properties\".\"filters\".\"description\"","old":"\"Other category filters (keys from dv_filters): {'size': {'min': 80, 'max': 120}, 'rooms': ['دو'], 'parking': true}. Unknown keys are returned in `ignored`.\""},{"path":"$.\"properties\".\"keywords\".\"description\"","old":"\"Words that must all be in the title.\""},{"path":"$.\"properties\".\"limit\".\"description\"","old":"\"check: max new ads per watch.\"","new":"\"check: max ads per watch.\""},{"path":"$.\"properties\".\"name\".\"description\"","old":"\"create: a label for you, e.g. 'cheap Pride in Karaj'.\"","new":"\"create: a label.\""},{"path":"$.\"properties\".\"query\".\"description\"","old":"\"Free text in title or description, e.g. 'پراید 111'.\""},{"path":"$.\"properties\".\"watch_id\".\"description\"","old":"\"check / delete: the id from 'create' or 'list'. check without it checks every watch.\"","new":"\"check / delete: id from 'create' or 'list'; check without it checks all.\""}]}}],"detail":"full","newAddresses":[],"newAddressesTotal":0},"label_id":"urn:uuid:460a9111-d877-49e6-9003-82249f08c29e","run_id":409625,"from_package_version":"0.2.4","to_package_version":"0.3.1","from_server_version":"0.2.4","to_server_version":"0.3.1","from_registry_version":"0.2.4","to_registry_version":"0.3.1","name":"io.github.sepehr071/divar-mcp","endpoint":"pypi:divar-mcp","title":"Divar"}