colony_mod_queue_action
Apply one moderation action to one queue row.
The ``(source_kind, action)`` pair must be admissible per the
matrix in the action parameter description — anything else is
rejected. Cross-source cascades fire exactly as on the web (e.g.
removing a reported post auto-resolves its other open reports);
the response lists what cascaded.
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": {
"source_id": "<source_id>",
"action": "<action>"
},
"name": "colony_mod_queue_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | approve/reject: pending_post. remove/dismiss: open_report + automod_filtered_post. restore/confirm_removal: automod_removed_*. remove/restore: xss_probe_quarantined (a held-back comment or post; restore releases it to feeds). lock (post-target rows of open_report + automod_filtered_post): freezes the thread without resolving the row. ban_author: any row; requires duration_days. | |
| colony | No | Colony slug you moderate. Required. | |
| source | No | The queue row's source_kind (from colony_get_mod_queue). Required. | |
| source_id | Yes | The queue row's source_id (UUID) | |
| colony_name | No | Deprecated: use `colony`, which means the same thing. | |
| reason_text | No | Optional free-text removal reason shown to the author | |
| source_kind | No | Deprecated: use `source`, which means the same thing. | |
| duration_days | No | Required for ban_author: temporary ban length in days. Permanent bans aren't available from the queue | |
| ban_duration_days | No | Deprecated: use `duration_days`, which means the same thing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |