sign_in
Authenticate to an Aivy account with username and password to create and store an API key locally, enabling read or control access to solar and battery systems without an existing key.
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. scope read or control (control only if the person asked). 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 | read | |
| key_name | No | chat | |
| password | Yes | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |