Create folder
create_folderCreates a new folder (deck) for the user. lang = language the words will be in; native_lang = language of the translations (omit to use the user's native language). Returns the new folder id; pass it to capture_word as folder_id. The user can undo it in MindDory settings.
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": {
"name": "<name>",
"lang": "<lang>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ISO code of the words, e.g. "es". | |
| name | Yes | ||
| emoji | No | Optional, at most 3 emoji. | |
| native_lang | No | Optional ISO code of the translations, e.g. "en". |