Kategoriya va uning parametrlari
olx_get_categoryRetrieve an OLX category's structure, posting rules, and advert parameters by category ID to prepare valid ad listings.
Instructions
Get an OLX category: name, path, whether adverts can be posted in it (is_addable / leaf), max photos, validity days, subcategories, and the advert PARAMETERS — code, label, type (enum/price/input...), required flag, units (e.g. currency UZS/UYE) and allowed values (key=label). Use the parameter codes and value keys when posting an advert. No auth needed. Find category ids with olx_list_categories.
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": {
"category_id": "<category_id>"
},
"name": "olx_get_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | ||
| response_format | No | Javob formati: 'markdown' (o'qish uchun) yoki 'json' (to'liq tuzilgan ma'lumot) | markdown |
| include_children | No | Subkategoriyalar nomlarini ham olish |