Replace track in playlist
replace_track_in_playlistReplace a track in a SoundCloud playlist with another at the same position, remove duplicate copies, and restore the previous list if the new track is rejected.
Instructions
Replace a track with another at the same position (e.g. a user upload with the official release). The first copy of old_track_id is replaced; any other copy of old_track_id, and any existing copy of new_track_id elsewhere, is removed so the playlist keeps one copy of the new track (they are listed in removed_elsewhere). If SoundCloud does not accept the new track, the previous list is restored and an error is returned.
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": {
"playlist_id": "<playlist_id>",
"old_track_id": "<old_track_id>",
"new_track_id": "<new_track_id>"
},
"name": "replace_track_in_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | ||
| new_track_id | Yes | ||
| old_track_id | Yes |