喜欢 / 取消喜欢
like_songAdd a song to or remove it from the current user's NetEase Cloud Music liked songs by song ID, using a boolean flag to set like status. Modifies account data; confirm before calling.
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": {
"id": "<id>"
},
"name": "like_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 歌曲 ID(数字) | |
| like | No | true 喜欢,false 取消喜欢 |