Slet indkøbsliste
delete_shopping_listUse this only when the user has explicitly confirmed that they want one whole Goma shopping list deleted, with everything on it. Needs shoppingListId from get_shopping_lists. As in the Goma app, the user's last list can't be deleted, and a list shared with their household is deleted for the whole household. If it was the primary list, their newest other list becomes primary. Checked-off items stay in the user's purchase history.
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": {
"shoppingListId": "<shoppingListId>"
},
"name": "delete_shopping_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shoppingListId | Yes | From get_shopping_lists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The shopping list on goma.gg. | |
| name | Yes | ||
| shared | Yes | The list was shared with a group and is gone for the whole group. | |
| deleted | Yes | ||
| shoppingListId | Yes | ||
| primaryShoppingListId | Yes | The user's primary list now; null when they have none. |