Update comment
wp_update_commentUpdate a comment by ID: its content or its approval status (approve, hold or mark as spam).
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": {
"comment_ID": "<comment_ID>"
},
"name": "wp_update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| comment_ID | Yes |