mylar_system
Manage Mylar3 server operations: check for updates, clear or fetch logs, retrieve API key, restart, update, or shut down the server. Provides direct control over runtime and configuration.
Instructions
mylar system operations on Mylar3. Pass operation and an arguments dict matching that operation's parameters.
mylar_check_github() — Check GitHub for updates and return current version data.
mylar_clear_logs() — Clear Mylar3's in-memory log buffer.
mylar_get_api(username, password) — Bootstrap helper: fetch the API key using HTTP basic login credentials. Does not require MYLAR_API_KEY.
mylar_get_history() — List rows from the snatched table (download history), newest first.
mylar_get_logs() — Return Mylar3's in-memory log buffer.
mylar_get_version() — Get Mylar3 version info: git_path, install_type, current_version, latest_version, commits_behind.
mylar_restart() — Restart Mylar3.
mylar_set_config(settings) — Set one or more Mylar config options via the web configUpdate endpoint. Takes a dict of checkbox/text settings keyed by their config.ini name (e.g. {"notify_pack_gif": True}). Checkboxes use boolean values; unchecked checkboxes should be set to False. Requires MYLAR_WEB_USERNAME and MYLAR_WEB_PASSWORD. Applies immediately and persists to config.ini.
mylar_shutdown() — Shut down Mylar3. This stops the server.
mylar_update() — Trigger Mylar3 to self-update (may restart the app).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |