meican_whoami
Retrieve the current user's organization info and delivery addresses from Meican. Use to obtain the most recently used pickup point's unique ID for placing orders.
Instructions
Look up the current user's organization info and ALL delivery addresses on Meican. Call this once per user to discover their suggested_default_address (= most recently used pickup point); store the returned unique_id on the user's profile and pass it as address_unique_id to meican_place_order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Meican namespace for the user's organization or site. Only meican_whoami uses this to scope organization info and pickup addresses; other tools ignore it. | |
| access_token | No | Optional Meican access token (cookie 'sat' on www.meican.com). If omitted, the server reads MEICAN_ACCESS_TOKEN from its environment. | |
| refresh_token | No | Optional Meican refresh token (cookie 'srt'). If omitted, the server reads MEICAN_REFRESH_TOKEN from its environment. On HTTP 401 the server refreshes once and returns the rotated pair in `_rotation`; persist it before the next call. |