plex_server
Perform complete Plex server administration: check status, health, run maintenance, restart, and apply updates.
Instructions
Comprehensive server management operations for Plex Media Server.
PORTMANTEAU PATTERN RATIONALE: Consolidates server lifecycle and maintenance operations into a single tool to prevent tool explosion and improve discoverability of admin-level tasks.
OPERATIONS:
status: Current server availability and basic state.
info: Detailed server identity and library overview.
health: Real-time resource usage and health metrics.
maintenance: Trigger optimization, cleaning, and trash emptying.
restart: Trigger server restart (where supported by OS/wrapper).
update: Check and apply server software updates (where supported).
Return Format
{"success": bool, "data": dict|list, "operation": str}
Examples
await plex_server(operation="status") await plex_server(operation="info") await plex_server(operation="maintenance", maintenance_operation="clean_bundles")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Additional options for maintenance operations. | |
| operation | Yes | The server operation to perform. | |
| maintenance_operation | No | Sub-operation for maintenance (optimize, clean_bundles, empty_trash). |