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
| Platform | Status | Notes |
|---|---|---|
| iOS | N/A | iOS provides auth context via the SystemPromptBuilder instead of a tool call |
| Android | Yes | — |
Description
Get the current authentication status
Parameters
This tool takes no parameters.
Response
| Field | Type | Description |
|---|---|---|
is_logged_in | boolean | Whether the user is signed in |
user_id | string | User identifier (if signed in) |
Source Files
- Android:
chat-pnp-android/mcp-app/src/main/java/pnp/app/mcp/app/tools/AppMCPTools.kt