Search collections
search_collectionsWhen the user looks for flashcard collections to study in Taalhammer — e.g. "find me a Dutch B1 collection", "anything about Indonesian food?". Returns matching collections with title, size, languages and id, from Taalhammer's library (Core and Topic courses) or from the user's own lists. Unlike search_catalog, it includes the user's own collections and needs the user's Taalhammer account; get_collection shows a result's cards.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Title or topic words, e.g. 'food' or 'B1'. Empty = everything in the filter. | |
| filter | No | 'public' (Taalhammer's whole library, default), 'core' (Taalhammer Core courses), 'topic' (Taalhammer topic packs), 'trending', 'stream' (the user's subscribed collections), 'user' (collections the user made), 'learned' (collections the user studied before). | public |
| source | No | ISO code of the language the user knows, e.g. 'en'. | |
| target | No | ISO code of the language being learned, e.g. 'nl', 'id' or 'de'. |