update_inventory_category
Rename or move an inventory category to a new parent, preventing duplicate names and self-descendant moves.
Instructions
Rename and/or move an inventory category. category accepts ID or exact name; pass parentCategory when a name may be duplicated. Rejects duplicate names in the destination parent and self/descendant moves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | a string that will be trimmed | |
| parentCategory | No | a string that will be trimmed | |
| name | No | a string that will be trimmed | |
| newParentCategory | No | a string that will be trimmed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |