loyalteez_resolve_user
Resolve a platform user ID (Discord, Telegram, Twitter, etc.) to a Loyalteez wallet, creating one automatically if needed.
Instructions
Convert any platform identity to a Loyalteez wallet. Creates wallet if needed. Uses deterministic email pattern: {platform}_{userId}@loyalteez.app.
See also: loyalteez://docs/architecture
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"platformUserId": "<platformUserId>"
},
"name": "loyalteez_resolve_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | No | Your brand wallet address. If not provided, uses LOYALTEEZ_BRAND_ID environment variable. | |
| platform | Yes | Platform: "discord" | "telegram" | "twitter" | "farcaster" | "github" | "google" | "email" | |
| platformUserId | Yes | Platform-specific user ID | |
| platformUsername | No | Platform username (for display) |