Ryd afkrydsede varer
clear_checked_itemsUse this when the user wants the checked-off (købt) items removed from their Goma shopping list, as clearing checked items does in the Goma app. Removes every checked item on the list and returns how many were removed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clear_checked_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shoppingListId | No | From get_shopping_lists. Omit to use the user's primary list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The shopping list on goma.gg. | |
| name | Yes | ||
| clearedCount | Yes | Checked items removed; 0 when none were checked. | |
| shoppingListId | Yes |