Tools Catalog / WordPress tools / wp_update_comment

wp_update_comment tool reference for StifLi Flex MCP

Write
Group CommentsCapability moderate_comments

updates a comment by `comment_ID` with a fields object.

Description

updates a comment by `comment_ID` with a fields object.

What it is for

  • Approving, editing, or changing comment status.

Example use case

approving a legitimate comment.

Sample prompt

Approve comment ID 991 and correct the formatting in the message if needed.

Sample response

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

What does wp_update_comment do?

updates a comment by `comment_ID` with a fields object.

Does wp_update_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_update_comment be used safely?

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