refresh_stream_urls
Accepts an array of song slugs and returns fresh signed stream URLs for all of them in one call. Use this ~2 minutes before stream URLs expire to keep playback uninterrupted.
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": {
"slugs": "<slugs>"
},
"name": "refresh_stream_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugs | Yes | Array of song slugs to refresh, e.g. ["holding-on","without-you"] |