Turn comments on or off for a site
configure_commentsEnables or disables visitor comments on a site and sets who may comment: anonymous (anyone), passcode (anyone with the shared passcode), or approved (comments appear after the owner approves them). Disabling keeps existing comments. Only the site's owner can change this.
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>"
},
"name": "configure_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| enabled | No | True to turn comments on, false to turn them off. | |
| site_id | Yes | The site_id returned by deploy_site, or listed by list_sites. | |
| passcode | No | The shared passcode, for mode `passcode`. |