Tools Catalog / WordPress tools / wp_delete_term

wp_delete_term tool reference for StifLi Flex MCP

Write
Group TaxonomyCapability manage_categories

deletes a term by `term_id` and taxonomy.

Description

deletes a term by `term_id` and taxonomy.

What it is for

  • Cleaning duplicated or obsolete terms.

Example use case

removing an obsolete category.

Sample prompt

Delete term ID 77 from the category taxonomy because we no longer use it.

Sample response

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

What does wp_delete_term do?

deletes a term by `term_id` and taxonomy.

Does wp_delete_term 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_term be used safely?

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