alonomic_login
Authenticates to Alonomic service and caches the authentication token in memory for subsequent API calls. Returns confirmation on success.
Instructions
Log in to Alonomic and cache the token (no token leaked).
Persian purpose: ورود به سرویس الونومیک و کشکردن توکن. Runs the
email/password login (POST /business-service/api/v1/login) and caches
the returned token in memory for subsequent Alonomic calls. If the
instance is configured with a pre-issued alonomic_token instead, it
simply reports success. The token value is NEVER returned.
Args: instance: Configured instance to log in (default when omitted).
Returns:
{authenticated: true, instance, method} on success, where
method is "alonomic_token" or "login"; otherwise a
structured error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||