Resolve, reopen, approve or reject a comment thread
update_comment_threadChanges the state of a comment thread: resolve marks it done, reopen undoes that, and approve or reject decide a thread waiting in the moderation queue (owner only).
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_id": "<site_id>",
"thread_id": "<thread_id>",
"action": "<action>"
},
"name": "update_comment_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| site_id | Yes | The site_id returned by deploy_site, or listed by list_sites. | |
| thread_id | Yes | The thread_id of a comment thread, as returned by list_comments. |