Basket contents
get_basketRetrieve the product IDs and quantities in the user's current Migros shopping basket or shopping list, optionally for a specific list ID, then enrich items with product details.
Instructions
Fetch the items currently in the user's shopping basket (Migros calls this a shopping list). Returns product IDs and quantities; use get_product_details to enrich. If the user has several lists, use get_shopping_lists and pass shoppingListId. Requires authentication.
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": "get_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shoppingListId | No | Optional shopping list ID from get_shopping_lists. Omit to use the first list. |