Delete content
content_deleteDeletes entries, categories, comments, filters and video channels from a content module of the site. Cannot be undone.
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": {
"action": "<action>",
"site_id": "<site_id>",
"module": "<module>"
},
"name": "content_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record, category, comment, or forum entity id. | |
| action | Yes | Operation to run. Each oneOf entry describes one action and lists its parameters. | |
| module | Yes | Content module code. poll is the same module as polls (module and settings lists name it poll). Not used by comments_all. The forum has its own forum_* tools. | |
| confirm | No | Confirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do. | |
| site_id | Yes | Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose. | |
| channel_id | No | Video channel id. | |
| filter_num | No | Filter number 1-3. |