Skip to main content

get_user_profile

Retrieves the signed-in customer's profile details such as name, email, and delivery address.

Platform Support

PlatformStatusNotes
iOSYes
AndroidYes
Authentication Required

The user must be signed in to use this tool.

Description

Get the current user's profile information

Parameters

This tool takes no parameters.

Response

FieldTypeDescription
namestringCustomer's full name
emailstringEmail address
phonestringPhone number
delivery_addressstringDefault delivery address

Error Codes

CodeDescription
AUTH_REQUIREDUser must be signed in

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