wp_update_comment
Modify an existing WordPress comment by ID, updating its content or status to manage discussions across single or multiple sites.
Instructions
Updates an existing comment.
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": {
"id": "<id>"
},
"name": "wp_update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the comment to update. | |
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| status | No | The new status for the comment. | |
| content | No | The updated content for the comment. |