Delete CMS items
delete_itemsDeletes up to 100 items by slug; slugs not found are listed. Confirm with the user before deleting content they wrote. Writes go to the branch the workspace has open as unsaved changes the user reviews and saves in Xodia, the same as the Content tab. Works on every plan within its collection and item limits (Free: 2 collections and 100 items a site); turning a folder into a Xodia collection needs a paid plan.
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": {
"collection": "<collection>",
"slugs": "<slugs>",
"projectId": "<projectId>"
},
"name": "delete_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugs | Yes | ||
| branch | No | Optional branch; default the branch the workspace has open | |
| projectId | Yes | Project id from list_projects | |
| collection | Yes | The collection id (its folder under content/), from list_collections |