Find categories
dk_categoriesFind category codes for product queries and main-category IDs for best-seller lists. Call with no arguments for main categories; use a parent ID to browse subcategories and leaf categories.
Instructions
Find category codes for dk_category_products and main-category ids for dk_best_sellers.
No arguments lists the main categories. A parent category mixes in accessories: browse its leaf.
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": "dk_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Persian name (finds more) or English code, e.g. 'لپ تاپ'. | |
| parent_id | No | List its sub-categories. |