Create collection
create_collectionWhen the user wants an empty collection with a given name — e.g. "create a new collection called 'Kitchen words'", "save them to a new collection called 'Love'". A new collection with cards written on a topic is make_collection (a form). Creates an empty named collection in the user's account and returns its id; cards are then added with import_flashcards (up to 200 per call) or in the app's Creator. The collection is private: only the user sees it. Requires the user's Taalhammer 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": {
"title": "<title>",
"source": "<source>",
"target": "<target>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Optional CEFR level, e.g. 'A2' (A1–C2). | |
| title | Yes | Collection title, e.g. 'Dutch kitchen words — A2'. | |
| source | Yes | ISO code of the language the user knows, e.g. 'en'. | |
| target | Yes | ISO code of the language being learned, e.g. 'nl'. | |
| description | No | Optional short description shown in the app, e.g. 'Words for cooking at home'. | |
| even_if_just_saved | No | True (e.g. true) = create it even though the cards of the latest preview for this language pair were saved in the last 10 minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |