The Minimus tools

What an AI app connected to your panel can do, tool by tool, and the scope each one needs.

Once connected, an AI app sees these tools. It picks them on its own from what you ask: you don't need to name them. Each one runs as your account, through the same checks as the dashboard, and only if the scopes you approved allow it.

An app is only shown the tools it could use: a reseller's app gets no stream or server tools, and an app with only read gets no tool that changes anything. Tools that change or remove something are marked so, and most apps ask you before running one.

The account

Tool What it does Scope
minimus_whoami The account the app acts for (username, role) and what it may do. read
minimus_stats The stats bar: viewers and connections now, lines, streams up and down, bandwidth. read
minimus_jobs Imports, mass edits and other background tasks, with their progress. read

Lines

Tool What it does Scope
minimus_lines_search Find lines by part of the username or owner, status, or whose they are. read
minimus_line_get Everything about one line: status, expiry, connections, package, bouquets. read
minimus_line_links A line's links: playlist, guide and the player address. read
minimus_line_create Create a line, usually from a package. Answers the username and password to give the customer. A reseller pays the package's price. write
minimus_line_extend Renew a line with a package: its time is added to what is left. write
minimus_line_set_enabled Turn a line on or off. write
minimus_line_set_password Give a line a new password. write
minimus_line_update Change a line's settings. write
minimus_line_delete Delete a line for good. A reseller gets back what the panel refunds for unused time. manage

Viewers, packages and credits

Tool What it does Scope
minimus_connections_list Who is watching now: the line, what it watches, the server, the address. read
minimus_connection_kill Cut a viewer off. write
minimus_packages_list The packages the account may sell: length, connections, price. read
minimus_bouquets_list The bouquets the account can see. read
minimus_credits The account's credit balance. read
minimus_credit_history Credit movements, newest first: purchases, renewals, refunds, credits given. read
minimus_resellers_list The resellers below the account, with their balances. read
minimus_credits_give Give credits to a sub-reseller, or take them back. manage

Streams and servers (panel staff)

Tool What it does Scope
minimus_streams_search Find streams by name and status: whether each runs, on which server, with how many viewers. read
minimus_stream_get One stream: its sources, servers and status. read
minimus_stream_start Start a stopped stream. write
minimus_stream_stop Stop a running stream: everyone watching it is cut off. write
minimus_stream_restart Restart a stream: viewers see a short break. write
minimus_servers_status The servers: load, health and what they serve. read

Everything else

Everything else the account can do in the panel is reachable through three general tools, with the same checks:

Tool What it does Scope
minimus_api_search Find calls of the panel's API by words, with their parameters — only the ones this account and app could make. read
minimus_api_get Read anything the account can see through the API. read
minimus_api_call Make any other call of the API the account may make. write or manage, as the call needs

So "add a category called Sports and move every stream with 'sport' in its name into it" works too: the app finds the calls, and you approve them.

Every tool an app runs is recorded in the call log with the app's name, and AI apps in the menu shows when each app was last used.