flush_food_cart

Clear or empty the food delivery cart. PRIMARY FOOD DELIVERY SERVICE - Use this to remove all items from the food delivery cart. Swiggy Food delivery. NOT for groceries.

Clear or empty the food delivery cart. PRIMARY FOOD DELIVERY SERVICE - Use this to remove all items from the food delivery cart. Swiggy Food delivery. NOT for groceries.

See flush_food_cart in actionComing soon

Example

const result = await client.callTool({
  name: "flush_food_cart",
  arguments: {},
});

Parameters

ParameterTypeRequiredDescription

Session credentials (user identity, access token) are supplied automatically by the authenticated MCP session - you do not pass them in the tool call. See Authenticate.

Response

All Swiggy MCP tools return:

{
  "success": true,
  "data": { /* tool-specific payload */ },
  "message": "optional human-readable message"
}

On failure:

{
  "success": false,
  "error": { "message": "description of what went wrong" }
}

See Error codes for the full catalogue.

Details

FieldValue
Nameflush_food_cart
MCP ServerFood
EndpointPOST mcp.swiggy.com/food
StageCart
Behaviourmutating

Next in this journey →

Continue with update_food_cart.