Search music
music_searchSearch your Music library by song, artist, or album to find matching tracks with play counts and last-played dates, using cursor paging for large results.
Instructions
Search the Music library by song, artist or album (every word must match, accents ignored), with play counts and last played dates. Large results come in parts (see paging and cursor).
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": "music_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max tracks. | |
| query | Yes | ||
| cursor | No | Leave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part. | |
| open_if_closed | No | Open Music if it is not running (default false). |