Add to My Library
subscribe_collectionWhen the user wants to start learning a collection — e.g. "add this collection to my library". Adds a Taalhammer collection to the user's library for both Learn (spaced-repetition reviews) and Listen, as "Add to My Library" does in the app; it then appears in Favourites. Changes the user's account; the id comes from search_collections or get_collection, an id from elsewhere is not found.
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": "subscribe_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | Collection id from search_collections or get_collection, e.g. '12345'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |