set_location
Set a Swiss postcode to shop as if located there. This overrides guessed or saved fulfilment so cooperative, warehouse, and prices match the chosen location.
Instructions
Shop as if located at a Swiss postcode (sets cooperative, warehouse, prices).
Without it, a guest gets a location the backend guesses. Signed-in users default to their own fulfilment selection; setting a postcode overrides it.
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": {
"zip_code": "<zip_code>"
},
"name": "set_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |