Comment Approve
comment_approveApprove a Drupal comment by setting its status to published, making it visible on the site.
Instructions
Approve a comment (set status to published).
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": "comment_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||