comment_toggle_spam
Mark or unmark a comment as spam in Voog by flipping its spam flag.
Instructions
Flip a comment's spam flag (PUT /articles/{article_id}/comments/{comment_id}). Body is FLAT: {is_spam: bool}. Voog's moderation UI also uses this endpoint. For other field edits use voog_admin_api_call (rare).
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>",
"article_id": "<article_id>",
"comment_id": "<comment_id>",
"is_spam": "<is_spam>"
},
"name": "comment_toggle_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| is_spam | Yes | New spam state (true = mark spam, false = unmark) | |
| article_id | Yes | Voog article id (from articles_list) | |
| comment_id | Yes | Voog comment id (from comments_list) |