Browse categories
dv_categoriesRetrieve Divar category slugs, Persian names, paths, and leaf status by browsing the category tree, filtering by name or parent for search tools.
Instructions
The Divar category tree (236 nodes, up to 4 levels): slug, Persian name, path and whether it is a leaf.
Gives the category slug for the search tools (light = cars and vans). Next: dv_filters.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dv_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Part of a category name or slug, Persian or Latin: 'موبایل', 'apartment'. | |
| parent | No | List the children of this slug, e.g. 'vehicles'. Omit for the 10 top-level categories. |