wp_delete_post tool reference for StifLi Flex MCP
Writedeletes a post by ID.
Description
deletes a post by ID.
What it is for
- Moving content to trash or deleting it depending on arguments.
- Cleaning up generated or duplicated content.
Example use case
cleaning up duplicate content.
Sample prompt
Delete post ID 312 because it is a duplicate of the canonical article.
Sample response
{
"tool": "wp_delete_post",
"status": "ok",
"updated": true
}
What does wp_delete_post do?
deletes a post by ID.
Does wp_delete_post 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 edit_posts and the active MCP profile.
How should wp_delete_post be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
