get_library_stats
Retrieve comprehensive Plex library statistics including storage usage, file counts, and content breakdowns to analyze media collection metrics and optimize storage management.
Instructions
Get comprehensive statistics about Plex libraries (storage usage, file counts, content breakdown, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_id | No | Specific library ID to get stats for (optional, defaults to all libraries) | |
| include_details | No | Include detailed breakdowns by file type, resolution, codec, etc. (default: false) |
Input Schema (JSON Schema)
{
"properties": {
"include_details": {
"default": false,
"description": "Include detailed breakdowns by file type, resolution, codec, etc. (default: false)",
"type": "boolean"
},
"library_id": {
"description": "Specific library ID to get stats for (optional, defaults to all libraries)",
"type": "string"
}
},
"required": [],
"type": "object"
}