Save Catalog Taxonomy
save_catalog_taxonomyCreate or edit an item category, brand or item group (kind=category|brand|group). Omit id to create (name required); pass id to edit, where every omitted field keeps its value. Names are unique per kind (per parent for categories). Categories nest under parentCategoryId (makeTopLevel=true un-nests; a category cannot move under its own subtree). Editing a group's salesTaxId or depositFeeAmount also moves the items still on the group's old value, as the app does; the preview counts them. Requires an operator (unpinned) credential. Put items into entries with set_item_classification.
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": {
"kind": "<kind>",
"input": "<input>"
},
"name": "save_catalog_taxonomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The entry id (GUID) to edit; omit to create. | |
| kind | Yes | category, brand or group. | |
| input | Yes | The fields to set. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| entry | No | ||
| deleted | No | ||
| preview | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |