Moderate a feed submission
bootform_moderate_submissionDecides whether a submission appears in the form's public content feed: 'approved' shows it there, 'rejected' keeps it out. Use it only on a form with the content feed turned on (bootform_configure_form content_feed_enabled); find the submission with bootform_get_submissions. It can also set or clear the submission's item status (for example "taken") when the form has one. Pass status, feed_status, or both. Approving or rejecting can be reversed by calling it again, but 'approved' also resets the visitor report count, and feed_status 'clear' deletes every visitor mark; neither comes back, and those visitors can't mark or report it again. Repeating 'set' restarts the item's hide timer.
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": {
"form_id": "<form_id>",
"submission_id": "<submission_id>"
},
"name": "bootform_moderate_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | 'approved' or 'rejected'. Optional when feed_status is given. | |
| form_id | Yes | The form's id | |
| feed_status | No | Item status: 'set' marks it with the form's status now, whatever the visitor count; 'clear' removes the status and every visitor mark. Needs an item status on the form (bootform_configure_form item_status_label). | |
| submission_id | Yes | The submission's id |