Skip to main content

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

PlatformStatusNotes
iOSYesRenders a native SwiftUI cart component inline in the chat
AndroidPlannedNot 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

FieldTypeDescription
displayedbooleanWhether the cart UI was rendered

Source Files

  • iOS: one-app-ios-chat/Chat/Sources/Chat/MCP/EcommerceMCPServer.swift