Like / unlike
toggle_likeToggles a track's like status: adds a like or removes it if already liked, and returns the new state.
Instructions
Likes a track, or removes the like when it is already liked. The answer says the new state.
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": {
"author": "<author>",
"track": "<track>"
},
"name": "toggle_like"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | Yes | Track permalink, e.g. "my-mix" from https://hearthis.at/djname/my-mix/ | |
| author | Yes | Profile permalink, e.g. "djname" from https://hearthis.at/djname/ |