Categories
tl_categoriesFind category page URLs and menu matches for Technolife products, or list top-level categories and sub-pages like brands and series using a query or category URL.
Instructions
Find category pages and their urls for tl_category_products.
With query: matching categories anywhere in the menu (best way to get a url). With url: that category's sub-pages (brands, series). With neither: top-level categories and child titles.
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": "tl_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Category whose sub-pages to list, e.g. 'category/mobile/mobile-phone'. | |
| query | No | Category name part, e.g. 'لپ تاپ گیمینگ'. |