Tools Catalog / WordPress tools / wp_delete_category

wp_delete_category tool reference for StifLi Flex MCP

Write
Group TaxonomyCapability manage_categories

deletes a category.

Description

deletes a category.

What it is for

  • Cleaning old categories.

Example use case

retiring an old category.

Sample prompt

Delete category term ID 12 because we merged it into another editorial section.

Sample response

{
  "tool": "wp_delete_category",
  "status": "ok",
  "updated": true
}

What does wp_delete_category do?

deletes a category.

Does wp_delete_category modify site data?

Yes. It is a write operation and can create, update, or delete data depending on arguments.

Which capability is commonly required?

It usually runs under controls compatible with manage_categories and the active MCP profile.

How should wp_delete_category be used safely?

Enable write confirmations, test in staging first, and keep changelog/rollback enabled.