Opret indkøbsliste
create_shopping_listUse this when the user wants a new Goma shopping list (indkøbsliste). Creates an empty personal list with the name given and, as the Goma app does, makes it the user's primary list, which shopping-list tools use when no shoppingListId is passed. Returns its shoppingListId.
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": {
"name": "<name>"
},
"name": "create_shopping_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | E.g. "Weekend" or "Fest lørdag". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The shopping list on goma.gg. | |
| name | Yes | ||
| isPrimary | Yes | The list became the user's primary list. | |
| shoppingListId | Yes |