Skip to main content

remove_from_cart

Removes a specific item from the customer's cart using its entry GUID.

Platform Support​

PlatformStatusNotes
iOSYes—
AndroidYes—
Authentication Required

The user must be signed in to use this tool.

Description​

Remove an item from the shopping cart

Parameters​

NameTypeRequiredDefaultDescription
entry_guidstringYes—Cart entry GUID to remove

Response​

FieldTypeDescription
successbooleanWhether the item was removed
cart_totalstringUpdated cart total

Error Codes​

CodeDescription
AUTH_REQUIREDUser must be signed in
INVALID_PARAMSMissing or invalid entry_guid

Source Files​

  • iOS: one-app-ios-chat/Chat/Sources/Chat/MCP/EcommerceMCPServer.swift
  • Android: chat-pnp-android/mcp-ecommerce/src/main/java/pnp/app/mcp/ecommerce/tools/EcommerceMCPTools.kt