list_categories
Retrieve categories in a merchant catalog, optionally including items and their IDs, to inspect or manage catalog structure and item data.
Instructions
List categories in a catalog (use include_items=true to get item IDs).
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": {
"merchant_id": "<merchant_id>",
"catalog_id": "<catalog_id>"
},
"name": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalog_id | Yes | Catalog ID (from list_catalogs). | |
| merchant_id | Yes | Merchant ID | |
| include_items | No | Include items (and their IDs) in each category. |