Search suggestions
dv_suggestConverts a product name into Divar search suggestions and likely categories, helping you choose the right query and category before searching ads.
Instructions
What Divar's search box would suggest for some text, and which categories the text belongs to.
Use to find category and query from a product name. Next: dv_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": "dv_suggest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | تهران | |
| query | Yes | Text as typed in the Divar search box, e.g. 'پراید', 'پژو'. |