Sign in
sign_inAuthenticate an existing Aivy account from chat by creating an API key from a username and password, then store it locally so future requests can access solar and battery systems.
Instructions
Use an existing Aivy account from the chat: creates an API key with the account's username (or email) and password, stores it on this computer (~/.aivy/credentials.json) and uses it from now on. Needs no existing key. The password is used once and not stored; never repeat the key back.
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": {
"username": "<username>",
"password": "<password>"
},
"name": "sign_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
| password | Yes | The account password, as the person gave it. | |
| username | Yes | The account's username or email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |