associate_email
Links the verified email claim from a Google ID token to the caller's wallet before oauth_login, resolving 404/code 108 when no email is associated.
Instructions
Link the email claim from a Google ID token to the caller's wallet. Must be called before oauth_login when the wallet has no associated email yet (oauth-login returns 404/code 108). The email is NOT sent by the client — the backend extracts it server-side from the verified Google idToken. computedData must be built with buildAssociateEmailComputedData (managed-custody payload).
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": {
"computedData": "<computedData>",
"idToken": "<idToken>"
},
"name": "associate_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idToken | Yes | Google-issued OIDC ID token (JWT). Backend extracts the email claim from this token. | |
| computedData | Yes | Managed-custody encrypted payload from buildAssociateEmailComputedData. |