swiggy-cart
swiggy-cart
Cart commands are split per server because food and groceries are physically separate carts upstream.
Read
swiggy food cart --json --no-interactive
swiggy instamart cart --json --no-interactive
data is the upstream cart object — items, totals, applied coupons. Always read before any mutation so you can tell the human what's about to change.
Mutate
swiggy food add-to-cart --restaurant-id <id> --item-id <itemId> --quantity 2 --json
swiggy instamart add-to-cart --product-id <id> --quantity 1 --json
More from hktitan/swiggy-cli
swiggy-cli
How to drive the swiggy-cli (a wrapper over the official Swiggy MCP servers) from inside an agent. Always run in machine mode, branch on stable error codes, and prefer the generic Layer B commands.
2swiggy-checkout
Place a Swiggy food or Instamart order via swiggy-cli, with the right safety rails. Use only when the human has explicitly asked to checkout — not as a continuation of "add to cart".
1swiggy-track
List, inspect, and live-track Swiggy food and Instamart orders via swiggy-cli. Use when the user asks "where's my order" or "what did I order yesterday".
1swiggy-search
Search restaurants, menu items, grocery products, or dineout venues on Swiggy via the swiggy-cli. Use when a user asks "find me X on Swiggy" or "what biryani places are open near me".
1swiggy-dineout-booking
Discover Swiggy Dineout restaurants, check available reservation slots, and book a table via swiggy-cli. Use when the user asks "book a table at X" or "is Y free at 8pm tomorrow".
1