Export a TIDAL playlist to a local file
tidal_export_playlistExport a TIDAL playlist to JSON or M3U in a private directory; sanitizes the filename and blocks overwriting existing files while preserving metadata and TIDAL URLs.
Instructions
Write a playlist to a file inside the private export directory.
It sanitizes the requested name to a single path segment and refuses an existing destination. A temporary file holds the complete export before publication. The export contains public metadata and TIDAL URLs.
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>"
},
"name": "tidal_export_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional file name without directories. Unsafe characters are replaced. | |
| format | No | json keeps full metadata; m3u lists titles and TIDAL URLs. | json |
| max_items | No | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the written file. | |
| title | No | ||
| format | Yes | ||
| truncated | Yes | True when the collection stopped at max_items before the end of the playlist, so the file holds a prefix rather than the whole playlist. | |
| playlist_id | Yes | ||
| track_count | Yes | ||
| bytes_written | Yes |