Open or stop the pi-bay web UI
pi_uiOpen the pi-bay web UI for devices, files, and terminal in your browser, starting its web server if needed; stop only a server this tool started.
Instructions
Open the pi-bay web UI (devices, files, terminal) in the browser, starting its web server when needed (action open, the default). When pi-bay runs on a Raspberry Pi or another remote machine it cannot open the user's browser: the result then has opened: false, and url is the address to open in a browser on the user's computer. Action stop stops a web server this tool started; the pi-bay app itself is never stopped.
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": "pi_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | open (default) or stop. |