Register a new Alza account
registerCreate a new Alza account by submitting email, phone, password, and optional verification code. Requires a confirmation token from prepare_mutation for explicit user confirmation.
Instructions
Register a new Alza account (mobile API CreateUser): submit email, phone, and password plus an optional verification code. High-impact, credential-bearing side effect: creates a real Alza account the user will have to manage. Use only with explicit user confirmation; requires a one-time token from prepare_mutation (action=register) passed as confirmation_token. Do not use to sign in an existing account — that is the auth_start/auth_exchange flow.
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": {
"email": "<email>",
"phone": "<phone>",
"pwd": "<pwd>",
"confirmation_token": "<confirmation_token>"
},
"name": "register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pwd | Yes | Initial password. It is a credential — confirm with the user before sending. | |
| code | No | Verification code, if Alza required one for this registration. | |
| Yes | Account email address (the login). | ||
| phone | Yes | Phone number, e.g. '+420 777 123 456'. | |
| confirmation_token | Yes | One-time token from `prepare_mutation` prepared with the matching action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |