wp_delete_comment tool reference for StifLi Flex MCP
Writedeletes a comment by `comment_ID`, with an optional `force` flag.
Description
deletes a comment by `comment_ID`, with an optional `force` flag.
What it is for
- Assisted moderation.
- Removing spam or problematic comments.
Example use case
spam cleanup.
Sample prompt
Delete comment ID 991 because it is obvious spam.
Sample response
{
"tool": "wp_delete_comment",
"status": "ok",
"updated": true
}
What does wp_delete_comment do?
deletes a comment by `comment_ID`, with an optional `force` flag.
Does wp_delete_comment 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 moderate_comments and the active MCP profile.
How should wp_delete_comment be used safely?
Enable write confirmations, test in staging first, and keep changelog/rollback enabled.
