show_cart
Shows the customer a visual, interactive view of their shopping cart within the chat. They can see items, adjust quantities, and proceed to checkout directly from this UI — no need for text descriptions.
Platform Support
| Platform | Status | Notes |
|---|---|---|
| iOS | Yes | Renders a native SwiftUI cart component inline in the chat |
| Android | Planned | Not yet implemented — Android describes cart contents in text |
Authentication Required
The user must be signed in to use this tool.
Description
Display an interactive cart UI to the user
Parameters
This tool takes no parameters.
Response
| Field | Type | Description |
|---|---|---|
displayed | boolean | Whether the cart UI was rendered |
Source Files
- iOS:
one-app-ios-chat/Chat/Sources/Chat/MCP/EcommerceMCPServer.swift