wp_update_comment
Update or moderate a WordPress comment by changing its content or approval status (approved, hold, spam, trash).
Instructions
Update or moderate a comment. Change content or approval status.
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 | Comment ID | |
| status | No | New status: approved, hold, spam, trash | |
| content | No | New comment content (optional) |