export_library
Export your full Plex library to a JSON file for backup, analysis, or migration. Specify library key and media type to generate a structured export.
Instructions
Export a full library to a JSON file (within ./exports)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Media type (movie, show, episode, artist, album, track) | |
| pageSize | No | Items per page for export (default: 500) | |
| libraryKey | Yes | Library section key | |
| outputPath | No | Optional relative path under ./exports (default: library_{key}_{timestamp}.json) |