Delete taxonomy
fabrement-delete-taxonomyUnregister a taxonomy Fabrement created (core/plugin ones are refused). Its terms stay in the database and return if it is re-created under the SAME slug; content just stops being classified by it. NOT a way to rename one: re-created under a different slug it comes back empty, because the terms are still filed under the old one — and nothing points at them any more. To change what a taxonomy looks like, keep the slug and use update-taxonomy {rewrite} for its URL and {singular, plural} for its name. Archive templates bound to it or to its terms are unbound and listed in the answer. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.
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": {
"slug": "<slug>"
},
"name": "fabrement-delete-taxonomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The taxonomy slug (from list-taxonomies). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What survived this delete and what to do about it — the kept pairing (with stillNamedBy) and the dropped archive bindings (with unbound), whichever applied. | |
| slug | Yes | ||
| deleted | Yes | ||
| unbound | No | Archive contexts that were bound to it and are now unbound. | |
| termsKept | No | How many terms were left in place. | |
| stillNamedBy | No | Post types whose definition still names this slug — kept so re-creating it revives the attachment. Absent when none do. |