Update category
hub_update_categoryRename a category, change its description or image, move it under a different parent, or set its sortOrder. Takes the category id from get_categories, never a name. Only the fields you pass are changed. parentId can only MOVE the category under another one; making an existing subcategory top-level again is not supported here, and neither is it in the cabinet. A category synced from an integration (WooCommerce and the like) is read-only and will be refused — it has to be changed in that platform. This never touches which products are in the category; that lives on the product (update_product, categoryIds).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| image | No | Image URL or "lucide:<icon>" reference | |
| parentId | No | New parent id from get_categories. Cannot be the category itself or one of its own subcategories | |
| sortOrder | No | Position among its siblings, lowest first | |
| categoryId | Yes | Category id from get_categories — not a name | |
| description | No |