remove_from_cart
Removes a specific item from the customer's cart using its entry GUID.
Platform Support
| Platform | Status | Notes |
|---|---|---|
| iOS | Yes | — |
| Android | Yes | — |
Authentication Required
The user must be signed in to use this tool.
Description
Remove an item from the shopping cart
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
entry_guid | string | Yes | — | Cart entry GUID to remove |
Response
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the item was removed |
cart_total | string | Updated cart total |
Error Codes
| Code | Description |
|---|---|
AUTH_REQUIRED | User must be signed in |
INVALID_PARAMS | Missing 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