Tools Catalog / WordPress tools / wp_create_comment

wp_create_comment tool reference for StifLi Flex MCP

Write
Group CommentsCapability moderate_comments

creates a comment. It requires `post_id` and `comment_content`.

Description

creates a comment. It requires `post_id` and `comment_content`.

What it is for

  • Replying to comments from an authorized agent.
  • Creating notes or programmatic replies.

Example use case

posting an editorial reply.

Sample prompt

Add a comment to post ID 245 thanking readers for their feedback and inviting them to subscribe.

Sample response

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

What does wp_create_comment do?

creates a comment. It requires `post_id` and `comment_content`.

Does wp_create_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_create_comment be used safely?

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