get_account_info
Retrieve account information from a linked Busy Bar device to verify the account is properly linked and inspect the associated email before performing account-specific operations.
Instructions
Retrieve linked account information from the Busy Bar device.
This tool queries GET /api/account/info via `AccountApi.get_account_info()` to get
details about the account currently linked to the Busy Bar unit.
Returns an AccountInfo object containing:
- linked (bool): Whether the device is linked to a busy bar account
- id (str): The unique account identifier (UUID)
- email (str): The email address associated with the account
- user_id (str): The user identifier (UUID)
Use case:
Verify an account is properly linked and inspect the associated email before
performing account-specific operations like displaying messages or notifications.
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": "get_account_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||