delete_list
Moves an entire shopping list to the trash so it can be restored; confirm the list name first. Use delete_items to remove only items.
Instructions
Move a whole shopping list to the Listonic trash; it can be restored from the trash in the app. On a shared list this removes it for everyone who shares it - get_lists shows whether a list is shared. Always confirm with the user, naming the list, before calling. To delete items but keep the list, use delete_items instead.
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>"
},
"name": "delete_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |