categories_list
List all ecommerce product categories for a site. Get category IDs, names, and hierarchy to filter products by category.
Instructions
List all ecommerce product categories (GET /admin/api/ecommerce/v1/categories). Read-only. Each entry has id, name, slug, parent_id, depth, created_at, updated_at. Use category.id from the results as the products_list(category_id=...) filter.
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": {
"site": "<site>"
},
"name": "categories_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes |