Delete a category
delete_categoryPermanently remove a category; articles remain published and lose the category reference. Requires explicit user confirmation.
Instructions
Delete a category. Articles in this category are not deleted. Their category_id becomes null, so they stay published and simply lose their category. Removing a category never removes content. PERMANENT: this deletes content from the customer's Site. There is no trash and no undo. Ask the user before calling this, and pass confirm: true only once they have agreed. Needs a secret key (wv_sk_) carrying the taxonomy:write scope.
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": "<id>"
},
"name": "delete_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A UUID. | |
| confirm | No | Set to true only after the user has explicitly agreed to this action. Calling without it returns a description of what would happen and changes nothing. |