Import a full menu into Crave
import_menuStore a complete menu at a Crave location in one call: categories, products, prices, images, modifiers. Re-importing updates items by name instead of duplicating, and the menu is active by default.
Instructions
Store a complete menu (categories, products, prices, image URLs, modifiers) at a Crave location in one call. Use this after extracting a menu from a website, PDF, or photos. Idempotent: re-importing updates existing items by name instead of duplicating. Forces menu.isActive=true unless explicitly set false. Follow with set_menu_active if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu | No | Menu-level settings; the menu is activated by default | |
| mode | No | Preview by default. Apply requires the exact returned planDigest. | dry-run |
| categories | Yes | The full menu tree: categories containing products, in display order | |
| locationId | No | Crave location id; omit to use the CRAVEUP_LOCATION_ID default | |
| planDigest | No | Exact digest returned by a dry-run of the same arguments. | |
| confirmationToken | No | Required exact phrase for destructive, paid, or release operations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| mode | Yes | ||
| status | Yes | ||
| changes | Yes | ||
| summary | Yes | ||
| operation | Yes | ||
| planDigest | Yes | ||
| environment | Yes | ||
| nextActions | Yes | ||
| schemaVersion | Yes |