search_tracks
Search a music library by applying structured filters like artist or BPM range. Get matching tracks with the real total count, while results are capped by a limit.
Instructions
Search the library. filter maps field -> value/comparison, e.g.
{"artist": "Daft Punk", "bpm": ">=120"}. Returns {total, returned,
tracks}; results are capped by limit while total is the real count.
Unsafe filters that would match the whole library are rejected.
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": {
"filter": "<filter>"
},
"name": "search_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| limit | No | ||
| fields | No | ||
| filter | Yes | ||
| source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||