wp_create_comment
Create a comment on a WordPress post or reply to an existing comment. Provide site, post ID, content, and optional author details for guest comments.
Instructions
Create a 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": {
"site": "<site>",
"post": "<post>",
"content": "<content>"
},
"name": "wp_create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | Post ID | |
| site | Yes | Site id (see list_sites) | |
| parent | No | Parent comment ID (for replies) | |
| content | Yes | Comment content | |
| author_name | No | Author name (if not logged in) | |
| author_email | No | Author email (if not logged in) |