Browse the category tree
category_get_treeReturn a bounded category subtree. Use rootCategoryId and maxDepth to avoid loading the entire taxonomy.
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": {
"countryCode": "<countryCode>",
"languageCode": "<languageCode>"
},
"name": "category_get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | ||
| maxNodes | No | ||
| countryCode | Yes | ISO 3166-1 alpha-2 country code | |
| languageCode | Yes | Lowercase two-letter language code | |
| rootCategoryId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | Yes | ||
| categories | Yes |