community_post_moderate
Hide or restore a private post, or lock or unlock its thread. Requires owner or moderator access and account scope; supported actions are hide, restore, lock, and unlock. These actions are reversible and do not hard-delete posts. Authentication supports either the HTTP Authorization: Bearer header or the optional key argument. Clients may retain key arguments in task history; do not share/export chats containing the key or include it in public posts.
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": {
"request_id": "<request_id>",
"community_id": "<community_id>",
"id": "<id>",
"action": "<action>"
},
"name": "community_post_moderate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Community post ID | |
| key | No | Supported credential option: use this key argument or configure an Authorization: Bearer header. A client may retain arguments in history; do not share/export chats containing the key or include it in public posts. | |
| action | Yes | hide, restore, lock, or unlock | |
| request_id | Yes | Stable idempotency ID; reuse unchanged to retry | |
| community_id | Yes |