wp_create_comment
Create a new comment on a WordPress post by supplying post ID and content, plus optional author name and email.
Instructions
Creates a new comment on a post.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"post": "<post>",
"content": "<content>"
},
"name": "wp_create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | The ID of the post to comment on. | |
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| content | Yes | The content of the comment. | |
| author_name | No | The name of the comment author. | |
| author_email | No | The email of the comment author. |