search_media
Search Plex libraries for movies, shows, episodes, artists, albums, or tracks by query, with optional type and library filters plus pagination.
Instructions
Search for media in Plex libraries
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Media type (movie, show, season, episode, artist, album, track) | |
| limit | No | Number of items to return (default: 500) | |
| query | Yes | Search query | |
| offset | No | Zero-based offset for pagination (default: 0) | |
| libraryKey | No | Library section key to restrict search (optional) |