Set Default REWE Market & Service Type
rewe_set_selected_marketSaves the default REWE market ID, postal code, and service type to local config so later product, offer, and basket calls use the right store.
Instructions
Persist the default REWE marketId (wwIdent), zipCode (PLZ), and serviceType (PICKUP or DELIVERY) in ~/.config/rewe-mcp/store.json for subsequent product, offer, and basket calls.
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": {
"marketId": "<marketId>"
},
"name": "rewe_set_selected_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional city override. | |
| zipCode | No | German postal code (PLZ, e.g. '50667'). Defaults to the configured zip code. | |
| marketId | Yes | REWE market identifier (`wwIdent`, e.g. '840174' or '831002'). | |
| marketName | No | Optional display name override. | |
| serviceType | No | REWE service type ('PICKUP' for Abholservice or 'DELIVERY' for Lieferservice). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| zipCode | Yes | ||
| marketId | Yes | ||
| updatedAt | No | ||
| marketName | No | ||
| serviceType | Yes |