Skip to main content

get_auth_context

Checks whether the customer is currently signed in to the app. Used to determine if cart and order operations are available.

Platform Support​

PlatformStatusNotes
iOSN/AiOS provides auth context via the SystemPromptBuilder instead of a tool call
AndroidYes—

Description​

Get the current authentication status

Parameters​

This tool takes no parameters.

Response​

FieldTypeDescription
is_logged_inbooleanWhether the user is signed in
user_idstringUser identifier (if signed in)

Source Files​

  • Android: chat-pnp-android/mcp-app/src/main/java/pnp/app/mcp/app/tools/AppMCPTools.kt