get_addresses

Swiggy (Instamart/Food): Get all saved delivery addresses for the authenticated Swiggy user, sorted by last order date. This tool works for Swiggy Instamart and Food services. Addresses are returned ...

Swiggy (Instamart/Food): Get saved delivery addresses for the authenticated Swiggy user, sorted by last order date. Supports pagination — pass page and pageSize to fetch beyond the first page. Addresses are returned WITHOUT coordinates (latitude/longitude) for privacy protection.

See get_addresses in actionComing soon

Example

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

Parameters

ParameterTypeRequiredDescription
pagenumbernoPage number (default: 1). Use with pageSize to paginate through addresses.
pageSizenumbernoResults per page (default: 10, max: 10).

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

Success:

{
  "success": true,
  "data": {
    "addresses": [],
    "pagination": {
      "page": 1,
      "pageSize": 10,
      "total": 23,
      "totalPages": 3,
      "hasMore": true
    },
    "imWidgetV2Eligible": true
  },
  "message": "optional human-readable message"
}
  • data.pagination.hasMore — if true, call again with page + 1 to fetch remaining addresses.
  • data.imWidgetV2Eligible — Instamart domain only; indicates the user is on the IM widget v2 whitelist.

On failure:

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

See Error codes for the full catalogue.

Details

FieldValue
Nameget_addresses
MCP ServerInstamart
EndpointPOST mcp.swiggy.com/im
StageDiscover
Behaviourread-only

Agent guidance

How Swiggy agents and orchestration logic use this tool. Surface these expectations in your prompts or tool-selection policies.

**IMPORTANT **- STOP here and let the user choose:

  1. Show the address list to the user
  2. Ask: "Which address would you like to use for delivery?"
  3. Do NOT call any other tool until the user has selected an address
  4. Remember the selected addressId for all subsequent operations
  5. If no addresses are returned, inform the user that they need to add an address first
  6. Check data.pagination.hasMore — if true, offer to load more or auto-fetch the next page before presenting the full list

Next in this journey →

Continue with search_products.