meican_place_order
Place a meal order with selected dishes, quantity, target time, and pickup address. Dry-run mode previews the request without applying charges.
Instructions
Place a meal order. DESTRUCTIVE: this may charge the user or consume an organization subsidy. ALWAYS confirm dish names, counts, total price, target time, and pickup address with the user BEFORE calling this. Set dry_run: true first to inspect the payload without submitting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dishes | Yes | Items to order. One entry per dish; use `count` for quantity. | |
| dry_run | No | If true, return the prepared request body without submitting. | |
| 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. | |
| target_time | Yes | ||
| 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. | |
| tab_unique_id | Yes | ||
| address_remark | No | Free-form note for the address. | |
| address_unique_id | Yes | Pickup point. Get from `meican_whoami.suggested_default_address.unique_id` or the user's stored preference. |