歌单增删歌曲
update_playlist_tracksAdd or remove songs from a user-created NetEase Cloud Music playlist by specifying playlist and song IDs; confirm before use because it changes the account.
Instructions
向当前用户自己创建的歌单添加或移除歌曲。会修改用户账号,调用前请确认。
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>",
"song_ids": "<song_ids>"
},
"name": "update_playlist_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | add 添加 / remove 移除 | add |
| song_ids | Yes | 歌曲 ID 列表 | |
| playlist_id | Yes | 歌单 ID(数字) |