Get category
get_categoryRetrieve a single Hertwill catalog category by its ID or slug, so you can look up category details before browsing or importing products.
Instructions
Get one category by id or slug.
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": {
"id_or_slug": "<id_or_slug>"
},
"name": "get_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_slug | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| slug | Yes | ||
| children | No | ||
| parent_id | No |