Data API базы: вход пользователей
data_api_authSign-in of the app's users: what is enabled, and the sender name of its emails.
Provider keys are never returned. Connecting Yandex, VK ID or Sber ID needs
a secret — that is done by the person in the dashboard or with
`layero data auth provider set` in a terminal, not through the chat.
Setting the sender needs a token with the admin scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "data_api_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | `status` — sign-in methods, providers and the callback URL for the provider console; `sender` — set the sender name of sign-in emails. | status |
| database | No | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. | |
| reply_to | No | For sender: address for replies. | |
| sender_name | No | For sender: e.g. «Layero Inbox». | |
| organization | No | Organization slug. Without it — the only one, or the personal one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| methods | No | ||
| database | Yes | ||
| providers | No | ||
| next_action | Yes | ||
| sender_name | No | ||
| callback_url | No | ||
| organization | Yes |