Create account (step 2)
verify_registrationConfirms the emailed verification code and accepted terms to create an Aivy account, issue an API key, and save it locally so other tools can access solar and battery controls.
Instructions
Create an Aivy account from the chat, step 2 of 2: confirms the emailed code, accepts the terms (only pass accept_terms=true after the person said yes), creates the account and an API key, and stores that key on this computer (~/.aivy/credentials.json) so every other tool works from now on, in this and future sessions. Never repeat the key back; say it is saved and can be managed at https://bridge.ivyenergy.com.au/account.
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": {
"registration_id": "<registration_id>",
"registration_session": "<registration_session>",
"code": "<code>",
"accept_terms": "<accept_terms>"
},
"name": "verify_registration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code from the verification email, as the person gave it. | |
| scope | No | What the new key may do: read = observe only; control = may also change settings. Pass control only when the person asked for it. | read |
| key_name | No | Label for the new API key, so the person can tell it apart later. | chat |
| accept_terms | Yes | True only after the person said they accept the terms get_registration_terms showed; false is refused. | |
| registration_id | Yes | `registration_id` from register_account's reply. | |
| registration_session | Yes | `registration_session` from register_account's reply. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |