List Alza categories
list_categoriesBrowse the Alza category tree one level at a time to find the right category ID for product searches; omit the parent ID to list top-level categories.
Instructions
Browse the Alza category tree one level at a time. Useful for narrowing a product search — find the right category id, then pass it to search_products as category_id. Without arguments, returns top-level categories.
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 |
|---|---|---|---|
| parent_id | No | Parent category id. Omit to list top-level categories. Pass an id from a previous result to drill down. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | Yes |