Connect to a Bar
bar_connectConnects to a BUSY Bar and saves its USB, Wi-Fi, or cloud address. Auto-discovers one Bar on the current Wi-Fi, lists multiple for selection, and helps during setup or when unreachable.
Instructions
Connect to the user's BUSY Bar and remember it. Without addr it looks for Bars on this Wi-Fi and connects if there is exactly one; with several it lists them so the user can pick. With addr it saves a USB, Wi-Fi or cloud address (or a busybar-wm address). Use it for setup, and when the Bar cannot be reached.
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": "bar_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | No | Leave out to search the Wi-Fi | |
| token | No | Cloud token from cloud.busy.app/api-tokens | |
| lan_addr | No | Optional LAN fallback for USB. Pass an empty string to remove it. | |
| password | No | HTTP access password, if the Bar has one |