Add to favourites
add_to_favouritesWhen the user wants a collection in their daily study or listening — e.g. "put my Dutch deck back in my favourites". Puts a collection from the user's library into Favourites (the heart in the app); Favourites are what Learn and Listen serve, a collection outside them stays in the library unserved. Changes the user's account.
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": {
"collection_id": "<collection_id>"
},
"name": "add_to_favourites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream | No | 'learn', 'listen' or 'both' (default) — Learn and Listen Favourites are separate. | both |
| collection_id | Yes | Id of a collection already in the user's library, e.g. '12345'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |