track_food_order

Track food delivery order status and delivery progress. PRIMARY FOOD DELIVERY SERVICE - Use this when user asks to track order, check delivery status, or see where their food order is. Swiggy Food delivery. Returns current status, ETA, and progress for orders that are being prepared or in delivery. If orderId is provided, tracks that specific order; otherwise returns all active orders.

See track_food_order in actionComing soon

Example

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

Parameters

ParameterTypeRequiredDescription
orderIdstringnoOptional: Specific order ID to track. If not provided, returns all active orders.

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.

Output schema

data: {
  orders: Array<{
    orderId: string;
    title: string;
    subtitle: string;
    etaText?: string;
    orderStatus: string;
    progressPercentage?: string;
    pollingDuration?: string;
    icon?: string;
    businessLine?: { id: string; name?: string };
  }>;
  statusMessage?: string;
}

This schema documents the structured payload returned by track_food_order. Optional fields can vary by user state, cart state, and live Swiggy availability.

Schema notes

  • statusMessage / orderStatus: service state fields. Prefer accompanying messages/terminal flags and refresh status before taking irreversible actions.
  • orderId: order identifier for tracking, support, payment confirmation, and cancellation flows. Preserve formatting exactly as returned.
  • etaText: ETA/tracking fields. Use formatted ETA text when present; timestamp fields can be used to compute countdowns.
  • Fields marked optional may be omitted depending on user state, cart/order state, and live Swiggy availability.
  • Use returned identifiers and enum values exactly as provided; do not invent fallback IDs, status values, payment methods, or timestamps.

Details

FieldValue
Nametrack_food_order
MCP ServerFood
EndpointPOST mcp.swiggy.com/food
StageTrack
Behaviourread-only

Next in this journey →

Continue with get_food_order_details.