List categories
list_categoriesFetch the product category hierarchy, including IDs, slugs, names, and child categories, so you can use the correct slug to filter catalog searches.
Instructions
List the product category tree (id, slug, name, children). Use slugs as the category filter.
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": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | Yes |