delete_items
Permanently removes items from a Listonic list when they were added by mistake or are no longer needed. Use it to clear checked items; confirm before deleting several rows or an entire list.
Instructions
Permanently delete items from a list; this can't be undone. To mark something as bought, tick it off with edit_items instead. Use this when the user wants an item gone (added by mistake, no longer needed) or asks to clear bought items - then delete only the checked ones. Before deleting more than a few items or emptying a whole list, confirm with the user. Get itemIds from get_items. Always pass confirmName alongside each itemId. Returns the deleted items in get_items format.
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": {
"listId": "<listId>",
"listName": "<listName>",
"items": "<items>"
},
"name": "delete_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Items to delete (from get_items) | |
| listId | Yes | The list ID (from get_lists) | |
| listName | Yes | The list's name exactly as get_lists shows it. Shown in the permission prompt so the user can confirm the right list; not sent to the API. |