search_library
Search only the songs, albums, artists, and playlists saved in a user's Apple Music library, with optional type filters and result limits.
Instructions
Search only what the user has saved in their Apple Music library.
To search all of Apple Music, use search_catalog instead.
Args: query: Search term. types: Comma-separated types. Options: library-songs, library-albums, library-artists, library-playlists limit: Results per type, 1–25 (default 10).
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_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| types | No | library-songs,library-albums,library-artists,library-playlists |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |