Remove content
content_removeDelete one item of content (an article, an event, a map place, a photo, a video or a sound) with target item, or one body block of an item with target block and block_id. Use it to delete a post, an event, a place, a picture of an album, a video or an episode, or a single paragraph, quote or picture of a post. One item or one block per call. This cannot be undone: what is deleted disappears from the app at once. Read the item with content_get first and pass the type it was read under: photos and the other types do not share their ids. To take an item offline without deleting it, use content_change with status draft or stock. Not possible: deleting several items in one call, deleting the player block of a video, deleting a page (type page deletes one block of its body). A page of the app (a section, in content_get) or a category is removed with myapp_remove, not here. The answer confirms what was deleted; a refusal says why and nothing is deleted.
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": {
"type": "<type>",
"target": "<target>",
"content_id": "<content_id>"
},
"name": "content_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The content type the item was read under. page is the body of an About or Form page: only one of its blocks is deleted here (target block). | |
| target | Yes | What to delete: item (the whole item with all its blocks) or block (one block, given by block_id; the item stays). | |
| block_id | No | With target block, required: the block to delete, read with content_get (with_blocks); the item stays. Not for photo. | |
| content_id | Yes | Id of the item to delete, or of the item that holds the block to delete. |