← Back to Tools Reference
Download Plugin
wp_update_comment
Description
Use this tool to update the status or content of an existing comment. Your AI can approve pending comments, mark spam, move to trash, or edit the comment text. This is the primary tool for automated comment moderation workflows.
See it in action
Claude Desktop — MCP Connection
👤
Approve the pending comment from the 'Product Launch' post and reply to it.
🤖
Calling Tool: wp_update_comment
Done! I've used wp_update_comment to complete that for you.
{"status": "success"} Example Use Cases & Sample Prompts
- Fixing a typo in a comment
- Prompt: “Find the latest comment on the ‘Getting Started’ post and fix the author name capitalization.”
- Approving a pending comment
- Prompt: “List pending comments and approve all that don’t contain spam links.”
- Marking as spam
- Prompt: “Find comments from the last 24 hours and mark any from suspicious IPs as spam.”
- Trashing inappropriate content
- Prompt: “List the most recent comments and trash any ones with offensive language in them.”
- Bulk moderation
- Prompt: “Approve all pending comments on posts from this month that have not been reviewed yet.”
Access this tool today
Install the Easy MCP AI plugin to securely expose wp_update_comment to Claude, ChatGPT, and more.